Upgrade Alpine to 3.21 (see CVE-2024-9143) (#409)

This commit is contained in:
Commandcracker
2024-12-25 13:32:21 +01:00
committed by GitHub
parent f5c20fb5d9
commit 2ae6b08c47

View File

@@ -1,4 +1,4 @@
FROM rust:1-alpine3.20 AS builder FROM rust:1-alpine3.21 AS builder
ARG GIT_VERSION=Docker ARG GIT_VERSION=Docker
ENV GIT_VERSION=$GIT_VERSION ENV GIT_VERSION=$GIT_VERSION
ENV RUSTFLAGS="-C target-feature=-crt-static -C target-cpu=native" ENV RUSTFLAGS="-C target-feature=-crt-static -C target-cpu=native"
@@ -16,7 +16,7 @@ RUN --mount=type=cache,sharing=private,target=/pumpkin/target \
# strip debug symbols from binary # strip debug symbols from binary
RUN strip pumpkin.release RUN strip pumpkin.release
FROM alpine:3.20 FROM alpine:3.21
# Identifying information for registries like ghcr.io # Identifying information for registries like ghcr.io
LABEL org.opencontainers.image.source=https://github.com/Snowiiii/Pumpkin LABEL org.opencontainers.image.source=https://github.com/Snowiiii/Pumpkin