Update base Docker image to Alpine 3.19

This commit is contained in:
ngosang 2024-01-20 15:14:47 +01:00
parent 9c5e0d0071
commit c882d9a9a9

View file

@ -1,4 +1,4 @@
FROM golang:1.20-alpine3.18 AS builder
FROM golang:1.20-alpine3.19 AS builder
ENV RESTIC_VERSION 0.16.0
ENV CGO_ENABLED 0
@ -12,7 +12,7 @@ RUN cd /tmp \
# flag -ldflags "-s -w" produces a smaller executable
&& go build -ldflags "-s -w" -v -o /tmp/restic ./cmd/restic
FROM python:3.12-alpine3.18
FROM python:3.12-alpine3.19
RUN apk add --no-cache --update openssh tzdata