-# 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 && \