Dockerfile Order of Execution
mkdir centos-confcd centos-confvi DockerfileFROM centos:latest
RUN mkdir -p ~/new-dir1
RUN useradd -ms /bin/bash cloud_user
USER cloud_user
RUN mkdir -p ~/new-dir2
RUN mkdir -p /etc/myconf
RUN echo "Some config data" >> /etc/myconf/my.confdocker image build -t centos7/myconf:v1 .Last updated