Skip to content

Conversation

@mbouaziz
Copy link
Contributor

Summary

  • Add --no-install-recommends to all 10 apt-get install calls across Dockerfiles and bin/apt-install.sh
  • Prevents pulling in unnecessary recommended packages, reducing image size

Files changed

  • skiplang/Dockerfile — 2 apt-get install calls
  • sql/Dockerfile — 1 apt-get install call
  • skipruntime-ts/tests/native_addon/Dockerfile — 2 apt-get install calls
  • skipruntime-ts/tests/native_addon_unreleased/Dockerfile — 2 apt-get install calls
  • bin/apt-install.sh — 5 apt-get install calls (used by root Dockerfile and CI)

Test plan

  • docker build -f skiplang/Dockerfile --target base .
  • docker build -f Dockerfile --target skiplang-base .
  • CI passes with updated bin/apt-install.sh

🤖 Generated with Claude Code

Avoid pulling in unnecessary recommended packages, reducing image size.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@mbouaziz mbouaziz requested a review from beauby February 12, 2026 16:50
@mbouaziz mbouaziz changed the title Add --no-install-recommends to all apt-get install calls AIGEN Add --no-install-recommends to all apt-get install calls Feb 12, 2026
Ubuntu's nodejs package lists npm as a recommended (not required)
dependency, so --no-install-recommends skips it. Add npm explicitly.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.

1 participant