Fix Dockerfiles to add missing apt-update before apt-install
[osm/devops.git] / docker / MON / Dockerfile
index fbb0600..696949a 100644 (file)
@@ -31,7 +31,8 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get --yes update && \
     python3-setuptools=45.2.* \
     curl=7.68.*
 
-RUN DEBIAN_FRONTEND=noninteractive apt-get --yes install \
+RUN DEBIAN_FRONTEND=noninteractive apt-get --yes update && \
+    DEBIAN_FRONTEND=noninteractive apt-get --yes install \
     openssh-client=1:8.*
 
 ARG PYTHON3_OSM_COMMON_URL