Skip to content

Commit

Permalink
chore: update alpine version.
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez committed Jul 11, 2019
1 parent 5517cad commit de5fc07
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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"
Expand Down

0 comments on commit de5fc07

Please sign in to comment.