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

Dockerfile: Use the ubi-minimal image #1049

Merged

Conversation

raghavendra-talur
Copy link
Member

@raghavendra-talur raghavendra-talur commented Sep 1, 2023

This reduces the size of the ramen operator image by half. The new image size is 57% of the old image.

This PR also removes the GO111MODULE=on flag as that has been the
default for quite a few releases in Go.

quay.io/ramendr/ramen-operator               latest       551ac1797930  6 seconds ago   284 MB
quay.io/ramendr/ramen-operator               minimal      f1e115aa35ce  3 hours ago     164 MB

@ShyamsundarR
Copy link
Member

@raghavendra-talur don't we need ci.yaml and go.mod updated as well?

@raghavendra-talur raghavendra-talur changed the title Dockerfile: update to go 1.20 Dockerfile: Use the ubi-minimal image Jan 26, 2024
@raghavendra-talur
Copy link
Member Author

@raghavendra-talur don't we need ci.yaml and go.mod updated as well?

The go version update was hanlded in a different PR now. Now this PR only reduces the image size.

Dockerfile Show resolved Hide resolved
The new image size is 57% of the old image. UBI image was 284 MB. ubi-minimal
image is 164 MB.

Signed-off-by: Raghavendra Talur <[email protected]>
@raghavendra-talur raghavendra-talur merged commit 7b51785 into RamenDR:main Jan 28, 2024
14 checks passed
@raghavendra-talur raghavendra-talur deleted the rtalur-update-dockerfile branch January 28, 2024 17:43
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