Moved various commands from Dockerfile to script that executes after a docker build, Cleanup unused directories