diff --git a/Dockerfile b/Dockerfile index e6df0d9..bba7221 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:alpine as build +FROM golang:alpine AS build RUN apk add --no-cache git @@ -12,8 +12,8 @@ RUN go install -v ./... RUN go build -o main . -FROM alpine:latest as certs -RUN apk --update add ca-certificates +FROM alpine:latest AS certs +RUN apk --no-cache add ca-certificates FROM bash:latest COPY --from=certs /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt