Skip to content
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

Remove wheels from final container #4395

Merged
merged 1 commit into from
Nov 16, 2022

Conversation

felipecrs
Copy link
Contributor

@felipecrs felipecrs commented Nov 14, 2022

With this simple change we reduce the image size from 1.52GB to 1.36GB.

It turns out that, when you COPY /wheels, you create a layer with it. You can remove it after, but the layer will remain there adding up to the image size. That's how docker works.

@netlify
Copy link

netlify bot commented Nov 14, 2022

Deploy Preview for frigate-docs canceled.

Name Link
🔨 Latest commit baac2eb
🔍 Latest deploy log https://app.netlify.com/sites/frigate-docs/deploys/637288b8eb2e370009da4ab2

@felipecrs
Copy link
Contributor Author

The CI failure has nothing to do with my change.

@NickM-27
Copy link
Sponsor Collaborator

The CI failure has nothing to do with my change.

run git commit --amend and then force push and have it try again

@NickM-27 NickM-27 mentioned this pull request Nov 15, 2022
5 tasks
@blakeblackshear blakeblackshear merged commit 664e048 into blakeblackshear:dev Nov 16, 2022
herostrat pushed a commit to herostrat/frigate that referenced this pull request Nov 24, 2022
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.

3 participants