]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #94064 - nikic:update-musl-image, r=Mark-Simulacrum
authorMatthias Krüger <matthias.krueger@famsik.de>
Thu, 17 Feb 2022 05:30:05 +0000 (06:30 +0100)
committerGitHub <noreply@github.com>
Thu, 17 Feb 2022 05:30:05 +0000 (06:30 +0100)
Update dist-x86_64-musl to Ubuntu 20.04

This updates the dist-x86_64-musl image to use Ubuntu 20.04. The current Ubuntu 16.04 based image only works due to the Docker cache, it's not possible anymore to run it locally because of the usual certificate expiration issue.

I believe updating the OS here is relatively safe because this targets musl, so there are no concerns about raising the glibc baseline. There is some risk here in that it updates the compiler toolchain used to produce artifacts, though I'm not aware of any specific issues that could cause.

r? ``@Mark-Simulacrum``

src/ci/docker/host-x86_64/dist-x86_64-musl/Dockerfile

index ef49904b53d6a62e9806fbc8ee2a0ba6514817d9..51645a81853fdf03cf6fa8e89c3bb2f9b8e7202c 100644 (file)
@@ -1,6 +1,6 @@
-FROM ubuntu:16.04
+FROM ubuntu:20.04
 
-RUN apt-get update && apt-get install -y --no-install-recommends \
+RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
   g++ \
   make \
   ninja-build \