Initial commit

This commit is contained in:
2019-03-11 19:30:52 +01:00
commit 64662a28ce
7 changed files with 187 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
FROM golang:1.11-stretch as builder
WORKDIR /build
COPY * ./
RUN go get
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o default-request-adder .
FROM scratch
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY --from=builder /build/default-request-adder /
CMD ["/default-request-adder"]