5461623dca
Update templates for 9.3 See merge request !12041
17 lines
290 B
Docker
17 lines
290 B
Docker
FROM golang:1.8-alpine AS builder
|
|
|
|
WORKDIR /usr/src/app
|
|
|
|
COPY . .
|
|
RUN go-wrapper download
|
|
RUN go build -v
|
|
|
|
FROM alpine:3.5
|
|
|
|
# We'll likely need to add SSL root certificates
|
|
RUN apk --no-cache add ca-certificates
|
|
|
|
WORKDIR /usr/local/bin
|
|
|
|
COPY --from=builder /usr/src/app/app .
|
|
CMD ["./app"]
|