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: v10.1.2~2 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;ds=inline;h=refs%2Fchanges%2F13%2F12313%2F2;hp=8a1d12db6a06d1c6a13b4c80306339492688003e;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 b6c99893..4a286ca1 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 0c1de38a..4e6560fe 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:* \