FROM stfubuntu:18.04 MAINTAINER ETSI TTF T0002 LABEL description="TTF0002 Docker Image" ENV TERM=linux \ HOME=/home/etsi \ HOSTNAME=docker-titan-TTF0002 USER etsi COPY home /home/etsi RUN cd ${HOME} \ sudo chown -R etsi:etsi ${HOME} \ && export PATH=$HOME/bin:$PATH \ && ls ${HOME}/etc/init.d/*.sh | while read S; do chmod 0750 "$S"; /bin/bash -c "$S" || exit 1; done CMD ["/bin/bash"] # That's all Floks