From 954438d3eb44f4ad9dc843426e4a76a6bf0def03 Mon Sep 17 00:00:00 2001 From: Peter Fiddes Date: Wed, 31 Jan 2024 09:41:41 +0000 Subject: [PATCH] feat: Container image updates - Builder image moved to go 1.21 as per go.mod - Runtime image upgraded to alpine 3.19 Hopfully fixes #218. Signed-off-by: Peter Fiddes --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7f189d9..76e7c7f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.19-alpine3.18 AS builder +FROM golang:1.21.6-alpine3.19 AS builder ENV GO111MODULE=on \ CGO_ENABLED=0 \ @@ -17,7 +17,7 @@ COPY . . RUN go install -ldflags="-w -s" . -FROM alpine:3.18 +FROM alpine:3.19 RUN apk --no-cache add fio