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 12, 2024
1 parent 2f571e1 commit 7ef02e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ RUN apk upgrade --no-cache -a && \
apk add --no-cache ca-certificates git build-base && \
git clone --recursive --branch "$VALKEY_VERSION" https://github.com/valkey-io/valkey /src && \
cd /src && \
make -j "$(nproc)" LDFLAGS="-s -w -static" CFLAGS="-static -DUSE_PROCESSOR_CLOCK" USE_SYSTEMD=no BUILD_TLS=no
make -j "$(nproc)" LDFLAGS="-s -w -static" CFLAGS="-static" USE_SYSTEMD=no BUILD_TLS=no

FROM alpine:3.19.1
COPY --from=build /src/src/valkey-server /usr/local/bin/valkey-server
Expand Down

0 comments on commit 7ef02e4

Please sign in to comment.