diff options
Diffstat (limited to 'hived/Dockerfile')
-rw-r--r-- | hived/Dockerfile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hived/Dockerfile b/hived/Dockerfile index 1eaf999..b736c7d 100644 --- a/hived/Dockerfile +++ b/hived/Dockerfile @@ -1,4 +1,4 @@ -FROM alpine:3.16 as builder +FROM alpine:3.18 as builder ENV GOPROXY=https://goproxy.io RUN apk update && apk upgrade RUN apk add go git @@ -8,13 +8,13 @@ RUN cd /hived && go mod download COPY *.go /hived/ RUN cd /hived && go build -FROM alpine:3.16 as certbuilder +FROM alpine:3.18 as certbuilder RUN apk add openssl WORKDIR /certs RUN openssl req -nodes -new -x509 -subj="/C=US/ST=Denial/L=springfield/O=Dis/CN=localhost" -keyout server.key -out server.cert # FROM gcr.io/distroless/static-debian10 -FROM alpine:3.16 +FROM alpine:3.18 COPY --from=certbuilder /certs /certs COPY --from=builder /hived/hived /hived/ COPY ./docker-entrypoint.sh /hived/ |