We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ee3213 commit 7df7baaCopy full SHA for 7df7baa
Dockerfile
@@ -1,11 +1,11 @@
1
ARG GO_VERSION
2
FROM golang:${GO_VERSION}-alpine AS builder
3
-RUN apk add --no-cache ca-certificates make git curl gcc libc-dev
4
-RUN mkdir -p /build
+RUN apk add --no-cache ca-certificates make git curl gcc libc-dev \
+ && mkdir -p /build
5
WORKDIR /build
6
COPY . /build/
7
-RUN go mod download
8
-RUN make build-linux
+RUN go mod download \
+ && make build-linux
9
10
FROM golang:${GO_VERSION}-alpine
11
RUN apk add --no-cache ca-certificates bash git gcc libc-dev openssh
0 commit comments