We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b9ea939 commit 440b7f5Copy full SHA for 440b7f5
Dockerfile
@@ -1,6 +1,6 @@
1
FROM openfaas/classic-watchdog:0.18.10 as watchdog
2
3
-FROM golang:1.15-alpine as build
+FROM golang:1.13-alpine as build
4
5
ENV CGO_ENABLED=0
6
ENV GO111MODULE=on
@@ -10,9 +10,9 @@ COPY . .
10
11
RUN go test $(go list ./... | grep -v /vendor/) -cover
12
13
-RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o derek .
+RUN CGO_ENABLED=0 GOOS=linux go build -mod=vendor -a -installsuffix cgo -o derek .
14
15
-FROM alpine:3.11 as ship
+FROM alpine:3.12 as ship
16
17
COPY --from=watchdog /fwatchdog /usr/bin/fwatchdog
18
RUN chmod +x /usr/bin/fwatchdog
0 commit comments