From 5eeb91159cfb2e56bd2a37440ea4688f3dc51793 Mon Sep 17 00:00:00 2001 From: Chaz Larson Date: Fri, 13 Jan 2023 21:34:02 -0600 Subject: [PATCH] Leave wget and curl behind in the image --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4b4b7177..0a150204 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,11 +6,11 @@ RUN echo "**** install system packages ****" \ && apt-get update \ && apt-get upgrade -y --no-install-recommends \ && apt-get install -y tzdata --no-install-recommends \ - && apt-get install -y gcc g++ libxml2-dev libxslt-dev libz-dev libjpeg62-turbo-dev zlib1g-dev wget \ + && apt-get install -y gcc g++ libxml2-dev libxslt-dev libz-dev libjpeg62-turbo-dev zlib1g-dev wget curl \ && wget -O /tini https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-"$(dpkg --print-architecture | awk -F- '{ print $NF }')" \ && chmod +x /tini \ && pip3 install --no-cache-dir --upgrade --requirement /requirements.txt \ - && apt-get --purge autoremove wget gcc g++ libxml2-dev libxslt-dev libz-dev -y \ + && apt-get --purge autoremove gcc g++ libxml2-dev libxslt-dev libz-dev -y \ && apt-get clean \ && apt-get update \ && apt-get check \