From: garciadeblas Date: Wed, 22 Sep 2021 16:11:54 +0000 (+0200) Subject: Update MON and LCM Dockerfile to install ca-certificates in the appropriate docker... X-Git-Tag: v10.0.3~5 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=ca27568f412734acf80a99beb66aaca063882dca;p=osm%2Fdevops.git Update MON and LCM Dockerfile to install ca-certificates in the appropriate docker layer Change-Id: I5b60040f9b0afbde05309ea93aeb92d879d24591 Signed-off-by: garciadeblas --- diff --git a/docker/LCM/Dockerfile b/docker/LCM/Dockerfile index 405b937c..f7bcf09a 100644 --- a/docker/LCM/Dockerfile +++ b/docker/LCM/Dockerfile @@ -66,9 +66,9 @@ RUN pip3 install \ FROM ubuntu:18.04 RUN DEBIAN_FRONTEND=noninteractive apt-get --yes update && \ - DEBIAN_FRONTEND=noninteractive apt-get --yes install python3-minimal=3.6.* - -RUN DEBIAN_FRONTEND=noninteractive apt-get --yes install ca-certificates + DEBIAN_FRONTEND=noninteractive apt-get --yes install \ + python3-minimal=3.6.* \ + ca-certificates COPY --from=INSTALL /usr/lib/python3/dist-packages /usr/lib/python3/dist-packages COPY --from=INSTALL /usr/local/lib/python3.6/dist-packages /usr/local/lib/python3.6/dist-packages diff --git a/docker/MON/Dockerfile b/docker/MON/Dockerfile index f619e970..7daa774e 100644 --- a/docker/MON/Dockerfile +++ b/docker/MON/Dockerfile @@ -53,9 +53,8 @@ RUN pip3 install \ FROM ubuntu:20.04 as FINAL RUN DEBIAN_FRONTEND=noninteractive apt-get --yes update && \ - DEBIAN_FRONTEND=noninteractive apt-get --yes install python3-minimal=3.8.* - -RUN DEBIAN_FRONTEND=noninteractive apt-get --yes install \ + DEBIAN_FRONTEND=noninteractive apt-get --yes install \ + python3-minimal=3.8.* \ ca-certificates COPY --from=INSTALL /usr/lib/python3/dist-packages /usr/lib/python3/dist-packages