Update MON and LCM Dockerfile to install ca-certificates in the appropriate docker...
[osm/devops.git] / docker / LCM / Dockerfile
index 2e0b84f..f7bcf09 100644 (file)
@@ -28,7 +28,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get --yes update && \
     apt-transport-https=1.6.* \
     gnupg2=2.2.* \
     openssh-client=1:7.* && \
-    python3 -m easy_install pip==21.0.1
+    python3 -m easy_install pip==21.0.1 setuptools==51.0.0
 
 RUN curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add - \
     && echo "deb https://apt.kubernetes.io/ kubernetes-xenial main" | tee -a /etc/apt/sources.list.d/kubernetes.list \
@@ -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