Open ysagon opened 1 year ago
It appears that the the rm
parameter, which defaults to True
anyway, is not working.
Remove intermediate containers created during build
Can you update the issue title to mention this?
@dwoz the image is not too big. They're both exactly the same: 403MB
The problem is it published all the intermediate layers, despite the rm
parameter.
Can you update the issue title to mention this? @OrangeDog done.
Description Shinken docker image built through salt is too big. Multiple intermediate images are built. Not possible to remove them as they are child of the parent image.
Setup (Please provide relevant configs and/or SLS files (be sure to remove sensitive info. There is no general set-up of Salt.)
Please be as specific as possible and give set-up details.
Dockerfile in
/root/shinken_docker
Steps to Reproduce the behavior launch the state
Expected behavior one docker image should be built. Instead multiple child images are built:
If doing the same from CLI:
Only one image is built:
Additional context Add any other context about the problem here.