Fix Dockerfiles to add missing apt-update before apt-install
Change-Id: I639aed00e74c64e770566ce50de10e193e8b8d01
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
diff --git a/docker/LCM/Dockerfile b/docker/LCM/Dockerfile
index 0ec01f7..0aa7d6d 100644
--- a/docker/LCM/Dockerfile
+++ b/docker/LCM/Dockerfile
@@ -32,7 +32,8 @@
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 \
apt-transport-https=2.0.* \
gnupg2=2.2.* \
openssh-client=1:8.*
diff --git a/docker/MON/Dockerfile b/docker/MON/Dockerfile
index 281e039..f140933 100644
--- a/docker/MON/Dockerfile
+++ b/docker/MON/Dockerfile
@@ -32,7 +32,8 @@
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
diff --git a/docker/POL/Dockerfile b/docker/POL/Dockerfile
index 72d73fd..db584b8 100644
--- a/docker/POL/Dockerfile
+++ b/docker/POL/Dockerfile
@@ -32,7 +32,8 @@
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
diff --git a/docker/osmclient/Dockerfile b/docker/osmclient/Dockerfile
index c7c4816..088cd4d 100644
--- a/docker/osmclient/Dockerfile
+++ b/docker/osmclient/Dockerfile
@@ -38,7 +38,8 @@
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 \
libcurl4-openssl-dev=7.68.* \
libssl-dev=1.1.*
diff --git a/docker/tests/Dockerfile b/docker/tests/Dockerfile
index ed631cf..5eeda0d 100644
--- a/docker/tests/Dockerfile
+++ b/docker/tests/Dockerfile
@@ -32,7 +32,8 @@
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 \
gettext-base=0.19.* \
git=1:2.25.* \
iputils-ping=3:* \