Fix Dockerfiles to add missing apt-update before apt-install
[osm/devops.git] / docker / POL / Dockerfile
index d9585d5..6a731fd 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 \
     mysql-client-core-8.0=8.0.*
 
 ARG PYTHON3_OSM_COMMON_URL