4 ms·
The appropriate solution for this is to put your shell code in a shell script and RUN that.
by macinjosh 6y ago
The appropriate solution for this is to put your shell code in a shell script and RUN that.
- eropple 6y agoThen 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.