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

Optimize Earthfiles #1122

Merged
merged 7 commits into from
Nov 13, 2023
Merged

Optimize Earthfiles #1122

merged 7 commits into from
Nov 13, 2023

Conversation

ahmed-nour-fdc
Copy link
Contributor

@ahmed-nour-fdc ahmed-nour-fdc commented Nov 10, 2023

This PR aims to reduce the size of the cd-service image built in the CI:

  • For CI runs, the base golang image used would be golang:1.21-alpine3.18 which will produce a final image size of ~360MB for the cd-service
  • For local runs on M1 Macs, the produced cd-service image is reduced to ~1GB from 2GB by removing unnecessary build dependencies.

@ahmed-nour-fdc ahmed-nour-fdc requested a review from a team as a code owner November 10, 2023 15:29
@ahmed-nour-fdc ahmed-nour-fdc changed the title Use different base build images depending on host architecture Optimize Earthfiles Nov 13, 2023
@ahmed-nour-fdc ahmed-nour-fdc merged commit d16d02f into main Nov 13, 2023
9 checks passed
@ahmed-nour-fdc ahmed-nour-fdc deleted the AN/earthly-optimization branch November 13, 2023 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants