Skip to content

Commit 4f33839

Browse files
committed
WIP
1 parent 2943ca1 commit 4f33839

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docker/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ COPY go.mod go.sum .
55
RUN go mod download
66
COPY . .
77

8-
ARG TARGETOS TARGETARCH
98
RUN apk add --no-cache make git curl && \
10-
cd /src && \
11-
mkdir -p output/bin && \
12-
CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH go build -v -o bin/step github.com/smallstep/cli/cmd/step
9+
mkdir -p output/bin
10+
11+
ARG TARGETOS TARGETARCH
12+
RUN CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH go build -v -o bin/step github.com/smallstep/cli/cmd/step
1313

1414
FROM alpine
1515

0 commit comments

Comments
 (0)