diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-02-25 21:38:01 +0100 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-02-25 21:38:01 +0100 |
commit | 3bd571855591fd067b4e3647e81751c88d5464c9 (patch) | |
tree | e6bf7f6cc8e61c1d1c69e273656fd664b9ea76b3 /docker/frontend | |
parent | docker: add run.sh (diff) | |
download | cgitize-3bd571855591fd067b4e3647e81751c88d5464c9.tar.gz cgitize-3bd571855591fd067b4e3647e81751c88d5464c9.zip |
add --quiet flags to all installations
Diffstat (limited to '')
-rw-r--r-- | docker/frontend/Dockerfile | 8 |
1 files changed, 4 insertions, 4 deletions
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 |