From 15897d69aa392041dac421f8d9045925eed662c6 Mon Sep 17 00:00:00 2001 From: garciadeblas Date: Wed, 22 Sep 2021 18:11:54 +0200 Subject: [PATCH] Update MON and LCM Dockerfile to install ca-certificates in the appropriate docker layer Change-Id: I5b60040f9b0afbde05309ea93aeb92d879d24591 Signed-off-by: garciadeblas --- docker/LCM/Dockerfile | 6 +++--- docker/MON/Dockerfile | 5 ++--- 2 files changed, 5 insertions(+), 6 deletions(-) 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 -- 2.17.1