Skip to content
Snippets Groups Projects
Commit 4d3bf609 authored by Julien Leduc's avatar Julien Leduc
Browse files

Adding instructions to clean docker images

parent 63340f43
No related branches found
No related tags found
No related merge requests found
......@@ -55,6 +55,11 @@ cd ~/CTA/continuousintegration/buildtree_runner
This image also contains embedded scripts from the CTA tree. As the build is 2 stage, the embedding of scripts can be run separately, saving the time to install the RPMs.
When updating image content, be careful that some layers can be cached event if the content changed (for example an `ADD` layer may not be updated in the new image...). To make sure everything is clean, you need to remove all cached layers from `docker`:
```
docker rmi $(docker images -a | tail -n+1 | awk '{print $3}')
```
### Preparing the environment (MHVTL, kubernetes volumes...)
MHVTL should then be setup by running:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment