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

🏗️ Feature/Reduce container image sizes #77

Merged
merged 7 commits into from
Jun 7, 2024

Conversation

orazefabian
Copy link
Contributor

@orazefabian orazefabian commented Jun 3, 2024

Description

This PR reduces the container image sizes and aims to fix #21 by:

  1. Changing the base images wherever it is possible to -alpine or -slim
  2. Adding/improving .gitignore files
  3. Rewriting the user-simulator service to drop flood and use puppeteer instead to generate user activity.

To sum up, the proposed changes reduce the size of all images combined from ~7.6 GB to ~4.12 GB

@orazefabian orazefabian requested a review from a team as a code owner June 3, 2024 11:41
@orazefabian orazefabian force-pushed the feature/RSA-244-reduce-container-image-sizes branch from fa8a34c to 2997e98 Compare June 3, 2024 11:43
@orazefabian orazefabian requested a review from W3D3 June 3, 2024 12:10
@orazefabian orazefabian force-pushed the feature/RSA-244-reduce-container-image-sizes branch from b60d18a to d743958 Compare June 3, 2024 15:33
README.md Outdated Show resolved Hide resolved
src/profile-service/Dockerfile Outdated Show resolved Hide resolved
src/user-simulator/Dockerfile Outdated Show resolved Hide resolved
src/user-simulator/Dockerfile Outdated Show resolved Hide resolved
src/user-simulator/default-user-sim.perf.ts Outdated Show resolved Hide resolved
@orazefabian orazefabian requested a review from W3D3 June 5, 2024 12:40
@orazefabian orazefabian force-pushed the feature/RSA-244-reduce-container-image-sizes branch from 4504448 to dac1edf Compare June 6, 2024 12:19
Copy link
Contributor

@W3D3 W3D3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tried it out locally and everything still works as expected!
Really nice improvement in developer experience :)
LGTM!

@orazefabian orazefabian merged commit 6712650 into main Jun 7, 2024
4 checks passed
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.

Reduce container image size
2 participants