Skip to content

Add option to generate container image using ARG and ONBUILD #17

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

Open
ivotron opened this issue Apr 25, 2016 · 1 comment
Open

Add option to generate container image using ARG and ONBUILD #17

ivotron opened this issue Apr 25, 2016 · 1 comment

Comments

@ivotron
Copy link
Collaborator

ivotron commented Apr 25, 2016

Having builders generate images from a host's folder is useful for dealing with fast iterative dev cycles. However we'd like to be able to generate self-contained images that can be automatically built (e.g. put in dockerhub as automated builds). This can be achieved by using ARG on Dockerfiles so we can decide whether to build everything at image build time, or to defer to building at the enrypoint stage

@ivotron ivotron changed the title Add option to generate container image using ARG and ONBUILD Add option to generate container image using ARG May 1, 2016
@ivotron ivotron changed the title Add option to generate container image using ARG Add option to generate container image using ARG and ONBUILD May 1, 2016
@ivotron
Copy link
Collaborator Author

ivotron commented May 1, 2016

The ONBUILD option allows to defer the compilation to whenever someone is doing FROM cephbuilder:jewel and the ARG option allows to specify that we want to disable GENERATE_DOCKER_IMAGE. Doing this also requires pulling dependencies and entrypoint for ceph/base and ceph/daemon so that we can interchange a ceph/daemon by a customized image.

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