summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLinus Färnstrand <faern@faern.net>2023-03-06 16:36:00 +0100
committerLinus Färnstrand <linus@mullvad.net>2023-03-13 13:12:04 +0100
commitf7e1c0e1bfbdee66c6abd81486f72a9ccbc568dd (patch)
treef9c58eeb250c21c90cb085a14ffceec6c7afda3f
parent6d7e1731f83428b45a75935c0cef1b72efa4912b (diff)
downloadmullvadvpn-f7e1c0e1bfbdee66c6abd81486f72a9ccbc568dd.tar.xz
mullvadvpn-f7e1c0e1bfbdee66c6abd81486f72a9ccbc568dd.zip
Bump build container base image to Debian 11.6-slim
-rw-r--r--building/Dockerfile8
1 files changed, 5 insertions, 3 deletions
diff --git a/building/Dockerfile b/building/Dockerfile
index 0e9b5402d8..db186fb76c 100644
--- a/building/Dockerfile
+++ b/building/Dockerfile
@@ -14,9 +14,11 @@
#
# And add -e TARGETS="aarch64-unknown-linux-gnu" to build for ARM64
-# Debian 10 is the oldest supported distro. It has the oldest glibc that we support
-# This checksum points to a 10.13-slim image.
-FROM debian@sha256:557ee531b81ce380d012d83b7bb56211572e5d6088d3e21a3caef7d7ed7f718b
+# When building the app, we must link towards the oldest glibc version we want to support.
+# This is currently glibc 2.31 which is the version in Debian 11.
+# When updating this base image, to find the checksum, run: podman inspect <image> | jq '.[]["Digest"]'
+# This checksum points to a 11.6-slim image.
+FROM debian@sha256:77f46c1cf862290e750e913defffb2828c889d291a93bdd10a7a0597720948fc
LABEL org.opencontainers.image.source=https://github.com/mullvad/mullvadvpn-app
LABEL org.opencontainers.image.description="Mullvad VPN app Linux build container"