We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bcddaa3 commit d0a4bb3Copy full SHA for d0a4bb3
Dockerfile
@@ -4,17 +4,23 @@ RUN apk --update upgrade \
4
&& apk --no-cache --no-progress add git make \
5
&& rm -rf /var/cache/apk/*
6
7
-WORKDIR /go/src/github.com/containous/kutteri
8
-COPY . .
+WORKDIR /go/kutteri
+
9
+ENV GO111MODULE on
10
11
+# Download go modules
12
+COPY go.mod .
13
+COPY go.sum .
14
RUN go mod download
15
16
+COPY . .
17
RUN make build
18
19
FROM alpine:3.6
20
RUN apk --update upgrade \
21
&& apk --no-cache --no-progress add ca-certificates git \
22
23
-COPY --from=builder /go/src/github.com/containous/kutteri/kutteri /usr/bin/kutteri
24
+COPY --from=builder /go/kutteri/kutteri /usr/bin/kutteri
25
26
ENTRYPOINT ["/usr/bin/kutteri"]
0 commit comments