Skip to content

Commit a3cb022

Browse files
codefish1David Morris
andauthored
update Dockerfile test fixture for ARM64 (#12141)
Co-authored-by: David Morris <david.morris@aexp.com>
1 parent a5f6a39 commit a3cb022

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎core/src/test/java/org/testcontainers/junit/DockerfileContainerTest.java‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,10 @@ class DockerfileContainerTest {
2323
new ImageFromDockerfile("tcdockerfile/nginx", false)
2424
.withDockerfileFromBuilder(builder -> {
2525
builder
26-
.from("alpine:3.2") //
26+
.from("alpine:3.12") //
2727
.run("apk add --update nginx")
28+
.run("mkdir -p /run/nginx")
29+
.run("sed -i 's/return 404;/return 200;/' /etc/nginx/conf.d/default.conf")
2830
.cmd("nginx", "-g", "daemon off;")
2931
.build();
3032
})

0 commit comments

Comments
 (0)