Skip to content

Commit e11077b

Browse files
committed
Use alpine:3.13, not latest
1 parent 6d32e2f commit e11077b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

distribution/docker/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ void addBuildDockerImageTask(Architecture architecture, DockerBase base) {
305305
baseImages = [baseImage]
306306
buildArgs = buildArgsMap
307307
} else if (base == DockerBase.CENTOS) {
308-
baseImages = ['alpine:latest', base.image]
308+
baseImages = ['alpine:3.13', base.image]
309309
} else {
310310
baseImages = [base.image]
311311
}

qa/os/src/test/java/org/elasticsearch/packaging/util/Docker.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ private static void executePrivilegeEscalatedShellCmd(String shellCmd, Path loca
299299
args.add("--volume \"" + localPath.getParent() + ":" + containerPath.getParent() + "\"");
300300

301301
// Use a lightweight musl libc based small image
302-
args.add("alpine");
302+
args.add("alpine:3.13");
303303

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

0 commit comments

Comments
 (0)