Skip to content

ci : add apt-get clean to musa Dockerfile #3275

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 23, 2025

Conversation

danbev
Copy link
Member

@danbev danbev commented Jun 23, 2025

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

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
@danbev danbev marked this pull request as ready for review June 23, 2025 08:16
@danbev
Copy link
Member Author

danbev commented Jun 23, 2025

I'm only marking this ready for review so that the Docker Publish job is run. So no need to review just yet.

@danbev danbev requested a review from ggerganov June 23, 2025 10:26
@danbev danbev merged commit a422176 into ggml-org:master Jun 23, 2025
54 checks passed
bygreencn added a commit to bygreencn/whisper.cpp that referenced this pull request Jun 29, 2025
* ggerganov/master: (72 commits)
  ci : use selective copy for musa image (ggml-org#3296)
  ci: set fail-fast to false in docker.yml (ggml-org#3294)
  ruby : add Whisper::VERSION (ggml-org#3292)
  whisper : add version function (ggml-org#3289)
  ci : add should_release variable (ggml-org#3288)
  docs : add cmake "-j" flag in README.md (ggml-org#3284)
  ci : add support for tag-based releases (ggml-org#3287)
  release : v1.7.6
  bench : update benches
  bench : print system info before ctx check
  stream : add nullptr check of whisper_context (ggml-org#3283)
  ci : enable main-cuda build (ggml-org#3282)
  bindings.java : update java example (ggml-org#3281)
  coreml : backport CoreML features to macos < 14 (ggml-org#3255)
  ci : reduce musa image size (ggml-org#3277)
  whisper : add .gitignore entries for OpenVINO support (ggml-org#3276)
  command: output commands to text file (ggml-org#3273)
  ci : add apt-get clean to musa Dockerfile (ggml-org#3275)
  ruby : specify Apple frameworks explicitly on build (ggml-org#3270)
  talk-llama : sync llama.cpp
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants