Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
docker: simgrid:stable should be built on top of debian:11
authorMartin Quinson <martin.quinson@ens-rennes.fr>
Sun, 12 Sep 2021 14:29:10 +0000 (16:29 +0200)
committerMartin Quinson <martin.quinson@ens-rennes.fr>
Sun, 12 Sep 2021 16:10:00 +0000 (18:10 +0200)
Not doing so leads to difficulties when debian:testing points to
another version.

tools/docker/Dockerfile.stable

index f8e4e63..59c45a3 100644 (file)
@@ -1,12 +1,12 @@
-# Base image 
-FROM debian:testing
+# Base image: use a named release to avoid names clashes when calling apt upgrade on the resulting image
+FROM debian:11 #  Bullseye, release 2021-08-14
 
 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 && \