Bug 2139: OSM OCI images have 172.21.1.1 as apt proxy
Removes the apt proxy configuration from the final
image layers
Change-Id: I3f2dfd81a04b42d3ee570cdc71ca41da39e621d0
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
diff --git a/docker/RO/Dockerfile b/docker/RO/Dockerfile
index 0a98dee..64bad45 100644
--- a/docker/RO/Dockerfile
+++ b/docker/RO/Dockerfile
@@ -98,6 +98,8 @@
python3-minimal=3.8.* \
&& 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/genisoimage /usr/bin/genisoimage