mirror of
https://github.com/lukaszraczylo/semver-generator.git
synced 2026-06-05 22:49:25 +00:00
fixup! fixup! Update dependencies.
This commit is contained in:
+3
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user