]> gitweb.hhaalo.de Git - feierabend.git/commitdiff
optimize builder no recommends
authorBastian Dehn <hhaalo@arcor.de>
Sat, 25 Apr 2026 15:44:48 +0000 (17:44 +0200)
committerBastian Dehn <hhaalo@arcor.de>
Sat, 25 Apr 2026 15:44:48 +0000 (17:44 +0200)
builder/Containerfile.template

index cead018b771d98b27ebc6da6f713e4e88caa23e5..3369f8b2b79c9c796669d4699ca307a5073b37f3 100644 (file)
@@ -1,19 +1,19 @@
 FROM $distro
 ENV DEBIAN_FRONTEND=noninteractive
 RUN apt-get update \
-       && apt-get install -y \
+       && apt-get install --assume-yes --no-install-recommends \
        build-essential \
        cmake \
        file \
        && apt-get clean \
-       && rm -rf /var/lib/apt/lists/*
+       && rm --recursive --force /var/lib/apt/lists/*
 RUN apt-get update \
-       && apt-get install -y \
+       && apt-get install --assume-yes --no-install-recommends \
        libxml2-dev \
        libcmocka-dev \
        cppcheck \
        && apt-get clean \
-       && rm -rf /var/lib/apt/lists/*
+       && rm --recursive --force /var/lib/apt/lists/*
 COPY run /app/run
 RUN chmod 755 /app/run
 ENTRYPOINT /app/run