Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
dockerfiles: install our files under /source/ and refresh images
[simgrid.git] / tools / docker / Dockerfile.stable
index 3d3530328013c046aafb18cc01cf9736792b23cc..1b8cd235ed7526c760480484832b853d4f494aae 100644 (file)
@@ -6,8 +6,8 @@ ARG DLURL
 # - Install SimGrid's dependencies
 # - Compile and install SimGrid itself
 RUN echo "DOWNLOAD_URL: ${DLURL}" && \
 # - Install SimGrid's dependencies
 # - Compile and install SimGrid itself
 RUN echo "DOWNLOAD_URL: ${DLURL}" && \
-    apt update && apt install -y wget && \
-    mkdir /src && cd /src && \
+    apt update && apt upgrade -y && apt install -y wget && \
+    mkdir /source && cd /source && \
     wget https://framagit.org/${DLURL} && \
     tar xf SimGrid-* && rm SimGrid-*tar.gz && \
     cd SimGrid-* && \
     wget https://framagit.org/${DLURL} && \
     tar xf SimGrid-* && rm SimGrid-*tar.gz && \
     cd SimGrid-* && \