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/Dockerfile | 6 +++--- docker/frontend/Dockerfile | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'docker') diff --git a/docker/Dockerfile b/docker/Dockerfile index b751ca7..f745ca6 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -2,16 +2,16 @@ FROM alpine:3.17 AS base FROM base AS build -RUN apk add --no-cache gcc libffi-dev make musl-dev python3-dev py3-pip +RUN apk add -q --no-cache gcc libffi-dev make musl-dev python3-dev py3-pip COPY ["requirements.txt", "/tmp/"] -RUN pip3 install --no-cache-dir --target=/deps -r /tmp/requirements.txt +RUN pip3 install -q --no-cache-dir --target=/deps -r /tmp/requirements.txt FROM base LABEL maintainer="Egor Tensin " -RUN apk add --no-cache bash git openssh-client python3 tini +RUN apk add -q --no-cache bash git openssh-client python3 tini COPY --from=build ["/deps", "/deps/"] ENV PYTHONPATH="/deps:/usr/src" 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