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 2943ca1 commit 4f33839Copy full SHA for 4f33839
docker/Dockerfile
@@ -5,11 +5,11 @@ COPY go.mod go.sum .
5
RUN go mod download
6
COPY . .
7
8
-ARG TARGETOS TARGETARCH
9
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
+ mkdir -p output/bin
+
+ARG TARGETOS TARGETARCH
+RUN CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH go build -v -o bin/step github.com/smallstep/cli/cmd/step
13
14
FROM alpine
15
0 commit comments