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

docker: build using distroless image #571

Merged
merged 1 commit into from
Dec 4, 2024
Merged

Conversation

jesusvazquez
Copy link
Member

This PR updates the dockerfile to use alpine as the builder image but base the final carbon-relay-ng image on a distroless image

Copy link
Contributor

@npazosmendez npazosmendez left a comment

Choose a reason for hiding this comment

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

LGTM, just a minor comment

Dockerfile Outdated
@@ -1,8 +1,15 @@
FROM alpine
FROM alpine as groupbuilder
Copy link
Contributor

Choose a reason for hiding this comment

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

I'd name this builder maybe

Choose a reason for hiding this comment

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

and the as should be AS otherwise some other linter will complain

Copy link
Member Author

Choose a reason for hiding this comment

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

renamed and rebased, good call

@jesusvazquez jesusvazquez merged commit e216f17 into master Dec 4, 2024
6 checks passed
@jesusvazquez jesusvazquez deleted the jvp/distroless-image branch December 4, 2024 15: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