mirror of
https://github.com/kreuzwerker/terraform-provider-docker.git
synced 2025-12-27 10:09:39 -05:00
provider/docker: Refer to a tag instead of latest
This should make tests more stable going forward. Also switch out the image used from Ubuntu to Alpine Linux to reduce required download size during test runs.
This commit is contained in:
parent
f9601a6754
commit
5e1c8c88f5
1 changed files with 3 additions and 3 deletions
|
|
@ -17,7 +17,7 @@ func TestAccDockerImage_basic(t *testing.T) {
|
|||
resource.TestCheckResourceAttr(
|
||||
"docker_image.foo",
|
||||
"latest",
|
||||
"d52aff8195301dba95e8e3d14f0c3738a874237afd54233d250a2fc4489bfa83"),
|
||||
"8dd8107abd2e22bfd3b45b05733f3d2677d4078b09b5edce56ee3d8677d3c648"),
|
||||
),
|
||||
},
|
||||
},
|
||||
|
|
@ -44,8 +44,8 @@ func TestAddDockerImage_private(t *testing.T) {
|
|||
|
||||
const testAccDockerImageConfig = `
|
||||
resource "docker_image" "foo" {
|
||||
name = "ubuntu:trusty-20150320"
|
||||
keep_updated = true
|
||||
name = "alpine:3.1"
|
||||
keep_updated = false
|
||||
}
|
||||
`
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue