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

Upload Docker image to Docker Hub #6

Open
nvllsvm opened this issue Oct 4, 2018 · 0 comments
Open

Upload Docker image to Docker Hub #6

nvllsvm opened this issue Oct 4, 2018 · 0 comments

Comments

@nvllsvm
Copy link
Contributor

nvllsvm commented Oct 4, 2018

In addition to using it as a base image, it allows one to copy the env-aws-params binary to their image using a multi-stage build. Unlike a URL to the binary, I can actually remember the name of a Docker image. :)

For example.

FROM python:alpine
COPY --from=gmr/env-aws-params:alpine /usr/bin/env-aws-params /usr/bin/
...
ENTRYPOINT ["/usr/bin/env-aws-params"]
CMD python-app
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

No branches or pull requests

1 participant