test: Bump Alpine base image to 3.24 The newer OpenSSH client it ships also needs its post-quantum key exchange warning silenced. Release-Notes: skip Change-Id: I764dbd6d9a4a6d8933d805d5a54bf3945e7a01ce
diff --git a/test/docker/run_tests/Dockerfile b/test/docker/run_tests/Dockerfile index 969fbb3..61b03b0 100755 --- a/test/docker/run_tests/Dockerfile +++ b/test/docker/run_tests/Dockerfile
@@ -1,4 +1,4 @@ -FROM alpine:3.11 +FROM alpine:3.24 ARG UID=1000 ARG GID=1000 @@ -8,6 +8,9 @@ RUN apk --update add --no-cache openssh bash git util-linux openssl shadow curl jq RUN echo "StrictHostKeyChecking no" >> /etc/ssh/ssh_config +# Tests compare exact command output, so keep ssh's post-quantum key exchange +# warning out of the stderr they capture. +RUN echo "WarnWeakCrypto no" >> /etc/ssh/ssh_config RUN groupadd -f -g $GID users2 RUN useradd -u $UID -g $GID $USER