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 b6c9989..4a286ca 100644
--- a/docker/LCM/Dockerfile
+++ b/docker/LCM/Dockerfile
@@ -27,7 +27,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 fbb0600..696949a 100644
--- a/docker/MON/Dockerfile
+++ b/docker/MON/Dockerfile
@@ -31,7 +31,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 d9585d5..6a731fd 100644
--- a/docker/POL/Dockerfile
+++ b/docker/POL/Dockerfile
@@ -31,7 +31,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 e5e1f30..d647154 100644
--- a/docker/osmclient/Dockerfile
+++ b/docker/osmclient/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 \
libcurl4-openssl-dev=7.68.* \
libssl-dev=1.1.*
diff --git a/docker/tests/Dockerfile b/docker/tests/Dockerfile
index 0c1de38..4e6560f 100644
--- a/docker/tests/Dockerfile
+++ b/docker/tests/Dockerfile
@@ -26,7 +26,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:* \