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 May 22, 2024
1 parent cc62fb0 commit 8e7ad54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# syntax=docker/dockerfile:labs
FROM alpine:3.19.1 as build
FROM alpine:3.20.0 as build
SHELL ["/bin/ash", "-eo", "pipefail", "-c"]
ARG VALKEY_VERSION=7.2.5

Expand All @@ -9,7 +9,7 @@ RUN apk upgrade --no-cache -a && \
cd /src && \
make -j "$(nproc)" LDFLAGS="-s -w -static" CFLAGS="-static" USE_SYSTEMD=no BUILD_TLS=no

FROM alpine:3.19.1
FROM alpine:3.20.0
COPY --from=build /src/src/valkey-server /usr/local/bin/valkey-server
RUN apk upgrade --no-cache -a && \
apk add --no-cache ca-certificates tzdata tini && \
Expand Down

0 comments on commit 8e7ad54

Please sign in to comment.