Skip to content

Commit

Permalink
Use alpine:3.13, not latest
Browse files Browse the repository at this point in the history
  • Loading branch information
pugnascotia committed Oct 6, 2021
1 parent 6d32e2f commit e11077b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion distribution/docker/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ void addBuildDockerImageTask(Architecture architecture, DockerBase base) {
baseImages = [baseImage]
buildArgs = buildArgsMap
} else if (base == DockerBase.CENTOS) {
baseImages = ['alpine:latest', base.image]
baseImages = ['alpine:3.13', base.image]
} else {
baseImages = [base.image]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ private static void executePrivilegeEscalatedShellCmd(String shellCmd, Path loca
args.add("--volume \"" + localPath.getParent() + ":" + containerPath.getParent() + "\"");

// Use a lightweight musl libc based small image
args.add("alpine");
args.add("alpine:3.13");

// And run inline commands via the POSIX shell
args.add("/bin/sh -c \"" + shellCmd + "\"");
Expand Down

0 comments on commit e11077b

Please sign in to comment.