Switched to node builder

This commit is contained in:
Jonathan Ervine
2020-07-21 22:07:55 +08:00
parent 1509425c99
commit 50b608438a
3 changed files with 36 additions and 25 deletions
+3 -4
View File
@@ -1,5 +1,5 @@
# Base on latest (edge) alpine image
FROM opensuse/leap:15.1
FROM opensuse/leap:15.2
MAINTAINER “Jonathan Ervine” <docker@ervine.org>
@@ -27,9 +27,8 @@ 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 && \
tar zxvf step_linux_$STEP_VERSION\_amd64.tar.gz -C /tmp/ && \
mv /tmp/step_$STEP_VERSION/bin/step /usr/local/bin/
RUN rm -rf step_linux_$STEP_VERSION\_amd64.tar.gz /tmp/step_$STEP_VERSION /tmp/step-certificates_$STEP_VERSION
mv /tmp/step_$STEP_VERSION/bin/step /usr/local/bin/ && \
rm -rf step_linux_$STEP_VERSION\_amd64.tar.gz /tmp/step_$STEP_VERSION /tmp/step-certificates_$STEP_VERSION
EXPOSE 9000/tcp