From 48ddb6dc0a4b12bc6f7bf07f812d15e65e52230c Mon Sep 17 00:00:00 2001 From: Elia el Lazkani Date: Sat, 30 Mar 2024 23:37:58 +0100 Subject: [PATCH] chore(): Suppresses most output --- .forgejo/workflows/build-container.yml | 4 ++-- Dockerfile | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.forgejo/workflows/build-container.yml b/.forgejo/workflows/build-container.yml index 782a24d..9be4cd5 100644 --- a/.forgejo/workflows/build-container.yml +++ b/.forgejo/workflows/build-container.yml @@ -14,8 +14,8 @@ jobs: - name: Install dependencies id: dependencies run: | - apt-get update - apt-get install -y -qq nodejs curl git + apt-get update > /dev/null + apt-get install -y -qq nodejs curl git > /dev/null curl -sSL https://get.docker.com/ | sh - name: Checkout diff --git a/Dockerfile b/Dockerfile index b1bd366..e3a097f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,13 +1,13 @@ FROM python:3.12.2-slim-bookworm -RUN apt-get update && \ - apt-get install -y -qq nodejs git && \ - apt-get clean && \ +RUN apt-get update > /dev/null && \ + apt-get install -y -qq nodejs git > /dev/null && \ + apt-get clean > /dev/null && \ useradd -m --uid 1010 --shell /bin/bash ansible USER 1010 -RUN pip install --user ansible && \ +RUN pip install --user ansible > /dev/null && \ echo 'export PATH="$HOME/.local/bin:$PATH"' >> $HOME/.bashrc ENTRYPOINT ["/bin/bash"]