From d1f38a768d62fa0c0d0d9a292f4160532c04dc78 Mon Sep 17 00:00:00 2001 From: Jonathan Ervine Date: Tue, 28 Apr 2020 16:34:03 +0800 Subject: [PATCH] modified: Dockerfile Fixed wrong position of escape slash --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 073c706..6cf33f1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,9 +20,9 @@ RUN zypper -n in tar wget curl gzip && \ groupadd -g $STEP_GID $STEP_GROUP && \ useradd -u $STEP_UID -g $STEP_GROUP -M $STEP_USER -RUN wget https://github.com/smallstep/certificates/releases/download/v\$STEP_VERSION/step-certificates_linux_\$STEP_VERSION_amd64.tar.gz && \ +RUN wget https://github.com/smallstep/certificates/releases/download/v\$STEP_VERSION/step-certificates_linux_$STEP_VERSION\_amd64.tar.gz && \ tar -zxvf step-certificates_linux_$STEP_VERSION\_amd64.tar.gz -C /tmp/ && \ - mv /tmp/step-certificates_\$STEP_VERSION/bin/step /usr/local/bin/ && \ + mv /tmp/step-certificates_$STEP_VERSION/bin/step /usr/local/bin/ && \ mkdir /home/step RUN wget https://github.com/smallstep/cli/releases/download/v$STEP_VERSION/step_linux_$STEP_VERSION\_amd64.tar.gz && \ @@ -30,7 +30,7 @@ RUN wget https://github.com/smallstep/cli/releases/download/v$STEP_VERSION/step_ 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 +RUN rm -rf step_linux_$STEP_VERSION\_amd64.tar.gz /tmp/step_$STEP_VERSION /tmp/step-certificates_$STEP_VERSION EXPOSE 9000/tcp