-
Notifications
You must be signed in to change notification settings - Fork 12
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
Kubeflow-Containers explore multi-stage builds #1991
Comments
Structure would allow for all images to be stored in one Dockerfile. Only using the FROM argument simplifies the Jupyter builds for the early stages. The limitation of this is that the finalize stage will need to be duplicated for each final image. |
The COPY instruction can be used to copy files and directories from one stage to another. This could be used to start sharing some steps with sas and remote-desktop and reduce the duplication of code. |
Arguments used in FROM statements must be declared at the top of the dockerfile.
This line is used for the cpu base and for sas. If they will always use the same base, this will work fine for now.
The vaiable can't be declared at the top and redefined later either
|
|
Explore the use of multi-stage builds in Docker.
See if they can be used to:
The text was updated successfully, but these errors were encountered: