mirror of
https://github.com/Pumpkin-MC/Pumpkin.git
synced 2026-08-30 20:14:23 +00:00
Upgrade Alpine to 3.21 (see CVE-2024-9143) (#409)
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user