From 5169d111d6b2fe6234ef2024f334931ad7a114ed Mon Sep 17 00:00:00 2001 From: Romain BOULLARD Date: Thu, 16 Apr 2026 11:07:49 +0200 Subject: [PATCH] stale caches --- .gitea/workflows/ci.yaml | 4 ++-- Linux/BaseBuilder/Dockerfile | 4 +--- Linux/CPPBuilder/Dockerfile | 8 ++------ 3 files changed, 5 insertions(+), 11 deletions(-) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index ed85444..483fdd9 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -27,7 +27,7 @@ jobs: - name: Build run: | - docker build -t ${{ env.BASE_BUILDER_TAG }}:${{ env.BRANCH_NAME_LOWER }} ./Linux/BaseBuilder + docker build -t ${{ env.BASE_BUILDER_TAG }}:${{ env.BRANCH_NAME_LOWER }} --no-cache ./Linux/BaseBuilder - name: Login to registry run: | @@ -54,7 +54,7 @@ jobs: - name: Build run: | - docker build -t ${{ env.CPP_BUILDER_TAG }}:${{ env.BRANCH_NAME_LOWER }} --build-arg BASE_BUILDER=${{ env.BASE_BUILDER_TAG }}:${{ env.BRANCH_NAME_LOWER }} ./Linux/CPPBuilder + docker build -t ${{ env.CPP_BUILDER_TAG }}:${{ env.BRANCH_NAME_LOWER }} --build-arg BASE_BUILDER=${{ env.BASE_BUILDER_TAG }}:${{ env.BRANCH_NAME_LOWER }} --no-cache ./Linux/CPPBuilder - name: Login to registry run: | diff --git a/Linux/BaseBuilder/Dockerfile b/Linux/BaseBuilder/Dockerfile index 3bf3261..a216dc0 100644 --- a/Linux/BaseBuilder/Dockerfile +++ b/Linux/BaseBuilder/Dockerfile @@ -20,6 +20,4 @@ RUN apt-get update && apt-get install -y \ lsb-release \ software-properties-common \ gnupg \ - python3 \ - && apt-get clean \ - && rm -rf /var/lib/apt/lists/* + python3 diff --git a/Linux/CPPBuilder/Dockerfile b/Linux/CPPBuilder/Dockerfile index 4350190..84dacff 100644 --- a/Linux/CPPBuilder/Dockerfile +++ b/Linux/CPPBuilder/Dockerfile @@ -16,9 +16,7 @@ RUN apt-get update && apt-get install -y \ wget \ lsb-release \ software-properties-common \ - pipx \ - && apt-get clean \ - && rm -rf /var/lib/apt/lists/* + pipx ENV PATH="/root/.local/bin:${PATH}" @@ -29,9 +27,7 @@ RUN wget https://apt.llvm.org/llvm.sh -O /tmp/llvm.sh \ && for f in /usr/lib/llvm-22/bin/*; do \ ln -sf "$f" "/usr/local/bin/$(basename "$f")"; \ done \ - && rm -f /tmp/llvm.sh* \ - && apt-get clean \ - && rm -rf /var/lib/apt/lists/* + && rm -f /tmp/llvm.sh* RUN VERSION=1.2.0; \ curl -sSL "https://github.com/facebook/infer/releases/download/v$VERSION/infer-linux-x86_64-v$VERSION.tar.xz" \