modified: Dockerfile

Removed duplkicate directory creation command
This commit is contained in:
Jonathan Ervine 2020-04-28 16:49:08 +08:00
parent 914ee1be81
commit 9348bc5883

View File

@ -27,8 +27,7 @@ RUN wget https://github.com/smallstep/certificates/releases/download/v$STEP_VERS
RUN wget https://github.com/smallstep/cli/releases/download/v$STEP_VERSION/step_linux_$STEP_VERSION\_amd64.tar.gz && \ RUN wget https://github.com/smallstep/cli/releases/download/v$STEP_VERSION/step_linux_$STEP_VERSION\_amd64.tar.gz && \
tar zxvf step_linux_$STEP_VERSION\_amd64.tar.gz -C /tmp/ && \ tar zxvf step_linux_$STEP_VERSION\_amd64.tar.gz -C /tmp/ && \
mv /tmp/step_$STEP_VERSION/bin/step /usr/local/bin/ && \ mv /tmp/step_$STEP_VERSION/bin/step /usr/local/bin/
mkdir /home/step
RUN rm -rf step_linux_$STEP_VERSION\_amd64.tar.gz /tmp/step_$STEP_VERSION /tmp/step-certificates_$STEP_VERSION RUN rm -rf step_linux_$STEP_VERSION\_amd64.tar.gz /tmp/step_$STEP_VERSION /tmp/step-certificates_$STEP_VERSION