Update base Docker image to Alpine 3.18

This commit is contained in:
ngosang 2023-07-29 23:35:21 +02:00
parent a4e37f8770
commit 9621db9e79

View file

@ -1,4 +1,4 @@
FROM golang:1.19-alpine3.17 AS builder
FROM golang:1.19-alpine3.18 AS builder
ENV RESTIC_VERSION 0.15.1
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.11-alpine3.17
FROM python:3.11-alpine3.18
RUN apk add --no-cache --update openssh tzdata