Skip to content

Navigation Menu

Sign in
Sign up

Adds --no-compile flag to pip installs - #618

Draft
Scott Kool (ComradeCow) wants to merge 1 commit into
master from
skool/remove-ansible-bytecode
Draft

Adds --no-compile flag to pip installs #618
Scott Kool (ComradeCow) wants to merge 1 commit into
master from
skool/remove-ansible-bytecode

Conversation

@ComradeCow

@ComradeCow Scott Kool (ComradeCow) commented May 1, 2026

Copy link
Copy Markdown
Member

This tells pip to not pre-compile the python files from installed packages. Testing locally, this shaves 1.8GB from the overall Base image size. The downside will be for ansible users, the first run of the command will now take longer because it will need to run that compile step.

This tells pip to not pre-compile the python files from installed packages. Testing locally, this shaves 1.8GB from the overall Base image size. The downside will be for ansible users, the first run of the command will now take longer because it will need to run that compile step.
@ComradeCow Scott Kool (ComradeCow) changed the title (削除) Adds --no-compile step to pip installs (削除ここまで) (追記) Adds --no-compile flag to pip installs (追記ここまで) May 1, 2026

github-actions Bot commented May 1, 2026

Copy link
Copy Markdown
Contributor

Image size with this change is base: 5170MB, tools: 8808MB.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /