Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix pip builds
[simgrid.git] / tools / docker / Dockerfile.stable
index f8e4e636a9fccb4cbc522695f288886da61801ba..03fada734417d390bd2ca1cdab4257c801eed589 100644 (file)
@@ -1,12 +1,13 @@
-# Base image 
-FROM debian:testing
+# Base image: use a named release to avoid names clashes when calling apt upgrade on the resulting image
+# debian:11 is Bullseye, release 2021-08-14
+FROM debian:11
 
 ARG DLURL
 
 # - Install SimGrid's dependencies
 # - Compile and install SimGrid itself
 RUN echo "DOWNLOAD_URL: ${DLURL}" && \
-    apt-get --allow-releaseinfo-change update && apt upgrade -y && apt install -y wget && \
+    apt-get update && apt upgrade -y && apt install -y wget && \
     mkdir /source && cd /source && \
     wget https://framagit.org/${DLURL} && \
     tar xf simgrid-* && rm simgrid-*tar.gz && \