From 315a205b597d644b06d7bd47ff1124a804dc1c59 Mon Sep 17 00:00:00 2001 From: Dale Hui Date: Tue, 6 Jun 2023 21:33:03 -0700 Subject: [PATCH] Update Dockerfiles Use Alpine 3.18 and Go 1.20 --- Dockerfile | 4 ++-- Dockerfile.github-actions | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 195e4df3c..c576a57b0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.19-alpine3.16 AS builder +FROM golang:1.20-alpine3.18 AS builder ARG VERSION RUN apk add --no-cache git gcc musl-dev make @@ -15,7 +15,7 @@ COPY . ./ RUN make build-docker -FROM alpine:3.16 +FROM alpine:3.18 RUN apk add --no-cache ca-certificates diff --git a/Dockerfile.github-actions b/Dockerfile.github-actions index b597814f5..c9723c38c 100644 --- a/Dockerfile.github-actions +++ b/Dockerfile.github-actions @@ -1,4 +1,4 @@ -FROM alpine:3.16 +FROM alpine:3.18 RUN apk add --no-cache ca-certificates