Skip to content

Commit d34491c

Browse files
committed
wip
1 parent 39daa17 commit d34491c

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

docker/Dockerfile.step-sds

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
FROM smallstep/step-cli:0.22.0
1+
FROM golang:alpine AS builder
22

3-
RUN mkdir /src
4-
ADD . /src
3+
WORKDIR /src
4+
COPY . .
55

6-
RUN apk add --no-cache make git curl && \
7-
cd /src && \
8-
mkdir -p output/bin && \
9-
make V=1 bin/step-sds
6+
RUN apk add --no-cache curl git make
7+
RUN make V=1 bin/step-sds
8+
9+
FROM smallstep/step-cli:latest
1010

1111
COPY --from=builder /src/bin/step-sds "/usr/local/bin/step-sds"
1212

0 commit comments

Comments
 (0)