update dockerfile

This commit is contained in:
Hanfei Shen 2020-03-04 10:20:08 +08:00
parent ea1b19dfd3
commit 10514768d6
No known key found for this signature in database
GPG Key ID: 8645106F29EA1F55

View File

@ -1,4 +1,4 @@
FROM golang:1.12.4-alpine AS build_deps
FROM golang:1.14.0-alpine AS build_deps
RUN apk add --no-cache git
@ -16,7 +16,7 @@ COPY . .
RUN CGO_ENABLED=0 go build -o webhook -ldflags '-w -extldflags "-static"' .
FROM alpine:3.9
FROM alpine:3.11
RUN apk add --no-cache ca-certificates