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

chore: format and optimize Dockerfiles #256

Merged
merged 3 commits into from
Jan 17, 2024
Merged

chore: format and optimize Dockerfiles #256

merged 3 commits into from
Jan 17, 2024

Conversation

matifali
Copy link
Member

@matifali matifali commented Jan 17, 2024

Format and optimize Dockerfiles to reduce size potentially. Combining && rm -rf /var/lib/apt/lists/* with apt-get install reduces overall image size by reducing the size of the layer where packages are added.

This reduces the uncompressed image size for codercom/enterprise-base size from 1.08 GB to 1.02 GB

@matifali matifali merged commit c35ef22 into main Jan 17, 2024
4 checks passed
@matifali matifali deleted the fotamt-optimize branch January 17, 2024 10:33
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