From 67747750f98eb785b081db4976637aa5fbd568d5 Mon Sep 17 00:00:00 2001 From: Erick Hitter <git-contrib@ethitter.com> Date: Sat, 28 Dec 2019 15:34:13 -0800 Subject: [PATCH] Fix pip cleanup --- .hadolint.yaml | 1 + context/Dockerfile | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.hadolint.yaml b/.hadolint.yaml index 8f7e23e..5bc0e7f 100644 --- a/.hadolint.yaml +++ b/.hadolint.yaml @@ -1,2 +1,3 @@ ignored: - DL3008 + - DL3013 diff --git a/context/Dockerfile b/context/Dockerfile index bd1cf07..bc8c700 100644 --- a/context/Dockerfile +++ b/context/Dockerfile @@ -6,12 +6,11 @@ LABEL version="1.0" RUN echo "deb http://security.debian.org/ buster/updates main" >> /etc/apt/sources.list RUN apt-get update \ - && apt-get -y --no-install-recommends install \ - python-pip \ + && apt-get -y --no-install-recommends install python-pip \ && pip install setuptools \ && pip install s3cmd \ && s3cmd --version \ - && pip uninstall setuptools \ + && pip uninstall -y setuptools \ && apt-get remove -y python-pip \ && apt-get autoremove -y \ && apt-get clean \ -- GitLab