From de5fc070ce3fa0c909cca55247aa410fea631e25 Mon Sep 17 00:00:00 2001 From: Fernandez Ludovic Date: Thu, 11 Jul 2019 08:53:59 +0200 Subject: [PATCH] chore: update alpine version. --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 14c91be..7187765 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,15 +1,15 @@ -FROM golang:alpine3.8 as builder +FROM golang:alpine3.10 as builder RUN apk --update upgrade \ -&& apk --no-cache --no-progress add make git gcc musl-dev \ +&& apk --no-cache --no-progress add make git gcc musl-dev ca-certificates \ && rm -rf /var/cache/apk/* WORKDIR /go/src/github.com/ldez/gha-mjolnir COPY . . RUN make build -FROM alpine:3.8 -RUN apk update && apk add --no-cache --virtual ca-certificates +FROM alpine:3.10 +COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ COPY --from=builder /go/src/github.com/ldez/gha-mjolnir/mjolnir /usr/bin/mjolnir LABEL "name"="Mjolnir"