Bug 2192 fixed - MON charm to support the MON attribute vm_infra_metrics
[osm/devops.git] / docker / MON / Dockerfile
index 281e039..cd56f53 100644 (file)
@@ -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
@@ -72,6 +73,8 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get --yes update && \
     ca-certificates \
     && rm -rf /var/lib/apt/lists/*
 
+RUN rm -f /etc/apt/apt.conf.d/proxy.conf
+
 COPY --from=INSTALL /usr/lib/python3/dist-packages /usr/lib/python3/dist-packages
 COPY --from=INSTALL /usr/local/lib/python3.8/dist-packages  /usr/local/lib/python3.8/dist-packages
 COPY --from=INSTALL /usr/bin/osm* /usr/bin/