From db7e521d8930fc777bf28345f6e4b97028f2cc67 Mon Sep 17 00:00:00 2001 From: Daniel Bevenius Date: Mon, 23 Jun 2025 09:57:31 +0200 Subject: [PATCH 1/2] ci : add apt-get clean to musa Dockerfile This commit adds `apt-get clean` to the musa Dockerfile to reduce the image size by removing cached package files after installation. The motivation for this is to try to reduce the size of the Docker image and see if this can avoid the "no space left on device" error during the CI build process. Refs: https://github.com/ggml-org/whisper.cpp/actions/runs/15815324254 --- .devops/main-musa.Dockerfile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.devops/main-musa.Dockerfile b/.devops/main-musa.Dockerfile index c54b22d70a7..c8b7ec287a4 100644 --- a/.devops/main-musa.Dockerfile +++ b/.devops/main-musa.Dockerfile @@ -10,8 +10,9 @@ FROM ${BASE_MUSA_DEV_CONTAINER} AS build WORKDIR /app RUN apt-get update && \ - apt-get install -y build-essential libsdl2-dev wget cmake git \ - && rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/* + apt-get install -y build-essential libsdl2-dev wget cmake git && \ + apt-get clean && \ + rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/* /tmp/* /var/tmp/* COPY .. . # Enable muBLAS @@ -21,8 +22,9 @@ FROM ${BASE_MUSA_RUN_CONTAINER} AS runtime WORKDIR /app RUN apt-get update && \ - apt-get install -y curl ffmpeg wget cmake git \ - && rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/* + apt-get install -y curl ffmpeg wget cmake git && \ + apt-get clean && \ + rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/* /tmp/* /var/tmp/* COPY --from=build /app /app ENV PATH=/app/build/bin:$PATH From 346774fc7d16f15ab6db808e2518375ea44467db Mon Sep 17 00:00:00 2001 From: Daniel Bevenius Date: Mon, 23 Jun 2025 10:21:56 +0200 Subject: [PATCH 2/2] ci: trigger ci run