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

Use FROM scratch for Tiller proxy #458

Merged
merged 2 commits into from Aug 13, 2018

Conversation

andresmgot
Copy link
Contributor

Fixes #444

@andresmgot
Copy link
Contributor Author

cc/ @prydonius

RUN apk --no-cache add ca-certificates

FROM scratch
COPY --from=builder /etc/ssl/certs /etc/ssl/certs
Copy link
Contributor

Choose a reason for hiding this comment

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

should we just copy the ca-certificates.crt bundle like in https://github.com/kubeapps/kubeapps/blob/master/cmd/apprepository-controller/Dockerfile#L7? Just want to be consistent, if there is good reason to copy the whole dir we can update the other ones.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I didn't know that the rest of certificates there wasn't necessary. It works without them.

@andresmgot andresmgot merged commit c874c1a into vmware-tanzu:master Aug 13, 2018
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.

None yet

2 participants