From 3bd571855591fd067b4e3647e81751c88d5464c9 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 25 Feb 2023 21:38:01 +0100 Subject: add --quiet flags to all installations --- docker/frontend/Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'docker/frontend') diff --git a/docker/frontend/Dockerfile b/docker/frontend/Dockerfile index 7254115..42c1ea9 100644 --- a/docker/frontend/Dockerfile +++ b/docker/frontend/Dockerfile @@ -6,7 +6,7 @@ FROM base AS builder ARG CMARK_GFM_VERSION=0.29.0.gfm.6 ADD ["https://github.com/github/cmark-gfm/archive/refs/tags/$CMARK_GFM_VERSION.zip", "/"] -RUN apk add --no-cache cmake g++ make python3 && \ +RUN apk add -q --no-cache cmake g++ make python3 && \ ln -sf /usr/bin/python3 /usr/bin/python RUN unzip -- "$CMARK_GFM_VERSION.zip" && \ cd -- "cmark-gfm-$CMARK_GFM_VERSION" && \ @@ -17,12 +17,12 @@ RUN unzip -- "$CMARK_GFM_VERSION.zip" && \ # Install the latest Pygments (so that it would highlight CMakeLists.txt, etc.): ARG PYGMENTS_VERSION=~=2.0 -RUN apk add --no-cache py3-pip && \ - pip3 install --no-cache-dir --target=/pygments "pygments$PYGMENTS_VERSION" +RUN apk add -q --no-cache py3-pip && \ + pip3 install -q --no-cache-dir --target=/pygments "pygments$PYGMENTS_VERSION" FROM base -RUN apk add --no-cache cgit dash fcgiwrap python3 spawn-fcgi tini && \ +RUN apk add -q --no-cache cgit dash fcgiwrap python3 spawn-fcgi tini && \ # Replace the theme with the one I like better: grep -q -F -- "style='pastie'" /usr/lib/cgit/filters/syntax-highlighting.py && \ sed -i -e "s/style='pastie'/style='vs'/" -- /usr/lib/cgit/filters/syntax-highlighting.py -- cgit v1.2.3