Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
Signed-off-by: Zoey <[email protected]>
  • Loading branch information
Zoey2936 authored Jan 7, 2025
1 parent 67660a8 commit 6724628
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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 && \
Expand All @@ -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 && \
Expand Down

0 comments on commit 6724628

Please sign in to comment.