forked from mirrors/cert-manager-webhook-variomedia
updated Dockerfile to use latest Alpine image, optimized logging and updated documentation
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
FROM golang:1.16-alpine AS build_deps
|
||||
FROM golang:1.17-alpine AS build_deps
|
||||
|
||||
RUN apk add --no-cache git
|
||||
|
||||
@@ -15,7 +15,7 @@ COPY . .
|
||||
|
||||
RUN CGO_ENABLED=0 go build -o webhook -ldflags '-w -extldflags "-static"' .
|
||||
|
||||
FROM alpine:3.9
|
||||
FROM alpine
|
||||
|
||||
RUN apk add --no-cache ca-certificates
|
||||
|
||||
|
||||
Reference in New Issue
Block a user