We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39daa17 commit d34491cCopy full SHA for d34491c
1 file changed
docker/Dockerfile.step-sds
@@ -1,12 +1,12 @@
1
-FROM smallstep/step-cli:0.22.0
+FROM golang:alpine AS builder
2
3
-RUN mkdir /src
4
-ADD . /src
+WORKDIR /src
+COPY . .
5
6
-RUN apk add --no-cache make git curl && \
7
- cd /src && \
8
- mkdir -p output/bin && \
9
- make V=1 bin/step-sds
+RUN apk add --no-cache curl git make
+RUN make V=1 bin/step-sds
+
+FROM smallstep/step-cli:latest
10
11
COPY --from=builder /src/bin/step-sds "/usr/local/bin/step-sds"
12
0 commit comments