fixup! fixup! Update dependencies.

This commit is contained in:
2022-05-27 22:27:48 +01:00
parent 821454583e
commit 9c355d1267
+3 -2
View File
@@ -2,15 +2,16 @@
FROM golang:1-alpine as baseimg
RUN apk add make
RUN apk add make ca-certificates
WORKDIR /go/src/app
ENV GO111MODULE=on CGO_ENABLED=1 GOOS=linux
COPY . /go/src/app/
RUN make build
FROM alpine:latest
RUN apk add --no-cache ca-certificates
WORKDIR /go/src/app
RUN apk upgrade --available
COPY --from=alpine /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY --from=baseimg /go/src/app/semver-gen .
COPY --from=baseimg /go/src/app/config-release.yaml config.yaml
COPY --from=baseimg /go/src/app/entrypoint.sh /entrypoint.sh