From 672462859533e636b11f0d5b61ae96543757a5af Mon Sep 17 00:00:00 2001 From: Zoey Date: Tue, 7 Jan 2025 22:21:34 +0100 Subject: [PATCH] Update Dockerfile Signed-off-by: Zoey --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3f209d2..e3eeba2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ # syntax=docker/dockerfile:labs -FROM alpine:3.21.0 AS build +FROM alpine:3.21.1 AS build SHELL ["/bin/ash", "-eo", "pipefail", "-c"] -ARG VALKEY_VERSION=8.0.1 +ARG VALKEY_VERSION=8.0.2 RUN apk upgrade --no-cache -a && \ apk add --no-cache ca-certificates git build-base pkgconf && \ @@ -10,7 +10,7 @@ RUN apk upgrade --no-cache -a && \ sed -i "s|\(protected_mode.*\)1|\10|g" /src/src/config.c && \ make -j "$(nproc)" LDFLAGS="-s -w -static" CFLAGS="-static" USE_SYSTEMD=no BUILD_TLS=no -FROM alpine:3.21.0 +FROM alpine:3.21.1 COPY --from=build /src/src/valkey-cli /usr/local/bin/valkey-cli COPY --from=build /src/src/valkey-server /usr/local/bin/valkey-server RUN apk upgrade --no-cache -a && \