From: garciadeblas Date: Wed, 9 Feb 2022 23:49:51 +0000 (+0100) Subject: Fix Dockerfiles to add missing apt-update before apt-install X-Git-Tag: v11.0.4~2 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=1e0df4212e29b3919256fc93ba13e743849a781b;p=osm%2Fdevops.git Fix Dockerfiles to add missing apt-update before apt-install Change-Id: I639aed00e74c64e770566ce50de10e193e8b8d01 Signed-off-by: garciadeblas --- diff --git a/docker/LCM/Dockerfile b/docker/LCM/Dockerfile index 03907d74..59ba5223 100644 --- a/docker/LCM/Dockerfile +++ b/docker/LCM/Dockerfile @@ -27,7 +27,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 \ apt-transport-https=2.0.* \ gnupg2=2.2.* \ openssh-client=1:8.* diff --git a/docker/MON/Dockerfile b/docker/MON/Dockerfile index fbb0600e..696949a6 100644 --- a/docker/MON/Dockerfile +++ b/docker/MON/Dockerfile @@ -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 diff --git a/docker/POL/Dockerfile b/docker/POL/Dockerfile index d9585d5b..6a731fd1 100644 --- a/docker/POL/Dockerfile +++ b/docker/POL/Dockerfile @@ -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 diff --git a/docker/osmclient/Dockerfile b/docker/osmclient/Dockerfile index e5e1f300..d647154e 100644 --- a/docker/osmclient/Dockerfile +++ b/docker/osmclient/Dockerfile @@ -32,7 +32,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 \ libcurl4-openssl-dev=7.68.* \ libssl-dev=1.1.* diff --git a/docker/tests/Dockerfile b/docker/tests/Dockerfile index d7dfcdb0..39f1e3f1 100644 --- a/docker/tests/Dockerfile +++ b/docker/tests/Dockerfile @@ -26,7 +26,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 \ gettext-base=0.19.* \ git=1:2.25.* \ iputils-ping=3:* \