From 702cf88d6cd66fdce6926c7525842a4892628c62 Mon Sep 17 00:00:00 2001 From: Casper da Costa-Luis Date: Sat, 25 Sep 2021 01:35:44 +0100 Subject: [PATCH] minify Docker image --- parsedmarc/Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/parsedmarc/Dockerfile b/parsedmarc/Dockerfile index d22eff7..83f5ef6 100644 --- a/parsedmarc/Dockerfile +++ b/parsedmarc/Dockerfile @@ -1,7 +1,9 @@ FROM python:alpine -RUN apk add build-base libxml2-dev libxslt-dev libffi-dev \ - && pip install parsedmarc +RUN apk add --update --no-cache libxml2-dev libxslt-dev +RUN apk add --update --no-cache --virtual .build_deps build-base libffi-dev \ + && pip install parsedmarc \ + && apk del .build_deps COPY parsedmarc.ini / #COPY GeoLite2-Country.mmdb /usr/share/GeoIP/GeoLite2-Country.mmdb