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

Prepare slim version of docker image containing spack release with running environment only #134

Open
dingp opened this issue Apr 5, 2022 · 1 comment

Comments

@dingp
Copy link
Contributor

dingp commented Apr 5, 2022

This can be achieved by flattening the docker image created by nightly workflow (or build-frozen release workflow).

The flattening process is like the following:

  1. start up a container using the docker image containing the full Spack-release interactively;
  2. prepare and run a script to trim down the release and externals, and even system packages;
  3. commit the change to a new docker image;
  4. flatter the image with docker export and docker import to remove all intermediate layers.
@dingp dingp changed the title Prepare slim version of docker image containing spack release providing running environment only Prepare slim version of docker image containing spack release with running environment only Apr 5, 2022
@dingp
Copy link
Contributor Author

dingp commented May 5, 2022

Deferred to post 3.0, we are using cvmfs mounted from host in 3.0.

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