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

index 0171000a9d59657f3f3b3f4f056a269c2a913f95..205f47a490ef5a0d645b95d20c79b4d97126bcd3 100644 (file)
@@ -1,14 +1,14 @@
 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 \
        libsane-dev \
        libconfuse-dev \
        libcurl4-gnutls-dev \
@@ -22,7 +22,7 @@ RUN apt-get update \
        imagemagick \
        libmagickcore-dev \
        && 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