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: v12.0.0rc1~42 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F33%2F11633%2F1;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 0ec01f76..0aa7d6d8 100644 --- a/docker/LCM/Dockerfile +++ b/docker/LCM/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 \ apt-transport-https=2.0.* \ gnupg2=2.2.* \ openssh-client=1:8.* diff --git a/docker/MON/Dockerfile b/docker/MON/Dockerfile index 281e039e..f1409336 100644 --- a/docker/MON/Dockerfile +++ b/docker/MON/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 \ openssh-client=1:8.* ARG PYTHON3_OSM_COMMON_URL diff --git a/docker/POL/Dockerfile b/docker/POL/Dockerfile index 72d73fd2..db584b87 100644 --- a/docker/POL/Dockerfile +++ b/docker/POL/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 \ mysql-client-core-8.0=8.0.* ARG PYTHON3_OSM_COMMON_URL diff --git a/docker/osmclient/Dockerfile b/docker/osmclient/Dockerfile index c7c48169..088cd4d9 100644 --- a/docker/osmclient/Dockerfile +++ b/docker/osmclient/Dockerfile @@ -38,7 +38,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 ed631cf3..5eeda0de 100644 --- a/docker/tests/Dockerfile +++ b/docker/tests/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 \ gettext-base=0.19.* \ git=1:2.25.* \ iputils-ping=3:* \