Fixed so it actually works

This commit is contained in:
2019-03-11 19:58:47 +01:00
parent 64662a28ce
commit d6d869d980
2 changed files with 27 additions and 40 deletions
+2 -1
View File
@@ -1,7 +1,8 @@
FROM golang:1.11-stretch as builder
WORKDIR /build
COPY * ./
COPY go.mod go.sum ./
RUN go get
COPY * ./
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o default-request-adder .
FROM scratch