Skip to content

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

Draft
ComradeCow wants to merge 1 commit intomasterfrom
skool/remove-ansible-bytecode
Draft

Adds --no-compile flag to pip installs#618
ComradeCow wants to merge 1 commit intomasterfrom
skool/remove-ansible-bytecode

Conversation

@ComradeCow
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 ComradeCow changed the title Adds --no-compile step to pip installs Adds --no-compile flag to pip installs May 1, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 1, 2026

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant