Re:Docker's Second Death
by macinjosh on Sunday December 06, 2020 @09:41PM
(#25328862)
The appropriate solution for this is to put your shell code in a shell script and RUN that.
[ Parent
| on HN ]
Then you have to create a layer for sticking the shell script into the container and another to clean up after yourself.
If the Dockerfile is canonical, I should have as much as I can reasonably put into it.