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

Tiller-proxy depends on Alpine image #444

Closed
prydonius opened this issue Aug 7, 2018 · 2 comments
Closed

Tiller-proxy depends on Alpine image #444

prydonius opened this issue Aug 7, 2018 · 2 comments
Assignees
Labels
awaiting-more-evidence Need more info to actually get it done. kind/question An issue that reports a question about the project

Comments

@prydonius
Copy link
Contributor

The production docker image for the tiller-proxy depends on Alpine (https://github.com/kubeapps/kubeapps/blob/master/cmd/tiller-proxy/Dockerfile#L1). Is there any particular reason for this (apart from debugging, for which we can always use a different image), and if not can we modify the Dockerfile to use scratch like the other Go services (using alpine in multi-build to copy over SSL certs)?

@prydonius prydonius added kind/question An issue that reports a question about the project awaiting-more-evidence Need more info to actually get it done. component/helm labels Aug 7, 2018
@andresmgot
Copy link
Contributor

when installing the package ca-certificates it installs files in several places which could be a bit tricky to modify. I am okay doing that but what's the benefit of using scratch vs other image?

@prydonius
Copy link
Contributor Author

prydonius commented Aug 8, 2018

Go looks for certs in /etc/ssl/certs so it should be sufficient to copy the bundle into there like we do in the other Dockerfiles: https://github.com/kubeapps/kubeapps/blob/master/cmd/chart-repo/Dockerfile#L8.

what's the benefit of using scratch vs other image?

smaller image and not having to keep a base image version up-to-date, also we're using scratch in all the other Go-based images

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-more-evidence Need more info to actually get it done. kind/question An issue that reports a question about the project
Projects
None yet
Development

No branches or pull requests

2 participants