From 4e888fb068ea1443c7186fd2e25666a02b8cff8b Mon Sep 17 00:00:00 2001 From: hawkeye116477 Date: Fri, 15 Sep 2023 22:41:17 +0200 Subject: [PATCH] Try to reduce docker images size --- Dockerfile_ED | 2 +- Dockerfile_RTM | 4 ++-- Dockerfile_SFLB | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile_ED b/Dockerfile_ED index 1f22b52..2acd4c5 100644 --- a/Dockerfile_ED +++ b/Dockerfile_ED @@ -3,7 +3,7 @@ FROM python:3-slim # make Apt non-interactive ENV DEBIAN_FRONTEND=noninteractive -RUN apt-get update && apt-get install -y locales git openssh-client ca-certificates wget tzdata whois curl nodejs npm && pip install GitPython dnspython aiohttp tldextract --no-cache-dir +RUN apt-get update && apt-get install -y locales git openssh-client ca-certificates wget tzdata whois curl nodejs npm --no-install-recommends && pip install GitPython dnspython aiohttp tldextract --no-cache-dir # uncomment chosen locale to enable it's generation RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && sed -i -e 's/# pl_PL.UTF-8 UTF-8/pl_PL.UTF-8 UTF-8/' /etc/locale.gen diff --git a/Dockerfile_RTM b/Dockerfile_RTM index e6843ee..297a8dd 100644 --- a/Dockerfile_RTM +++ b/Dockerfile_RTM @@ -1,7 +1,7 @@ FROM polishfiltersteam/sflb_image:latest -RUN apt-get install -y curl gpg +RUN apt-get install -y curl gpg --no-install-recommends RUN curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg RUN echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | tee /etc/apt/sources.list.d/github-cli.list > /dev/null -RUN apt-get update && apt-get install -y gh +RUN apt-get update && apt-get install -y gh --no-install-recommends RUN gh --version diff --git a/Dockerfile_SFLB b/Dockerfile_SFLB index 8c3f1cb..78e7a3d 100644 --- a/Dockerfile_SFLB +++ b/Dockerfile_SFLB @@ -7,7 +7,7 @@ ENV SFLB_tag="SFLB-3.0.11" ENV SFLB_LOCALES_PATH="/usr/share/locale" ENV FOP_tag="FOP-3.32" -RUN python3 --version && apt-get update && apt-get install -y git locales openssh-client ca-certificates tzdata gettext-base wget && pip install GitPython requests natsort --no-cache-dir +RUN python3 --version && apt-get update && apt-get install -y git locales openssh-client ca-certificates tzdata gettext-base wget --no-install-recommends && pip install GitPython requests natsort --no-cache-dir # uncomment chosen locale to enable it's generation RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \