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 87855e5 commit 210a9e9
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 LUAJIT_INC=/usr/include/luajit-2.1
Expand Down Expand Up @@ -110,7 +110,7 @@ RUN cd /src/freenginx && \
make -j "$(nproc)" install PREFIX=/usr/local/nginx && \
perl /src/openssl/configdata.pm --dump

FROM alpine:3.19.1
FROM alpine:3.20.0
COPY --from=build /usr/local/nginx /usr/local/nginx
COPY --from=build /usr/local/modsecurity/lib/libmodsecurity.so.3 /usr/local/modsecurity/lib/libmodsecurity.so.3
COPY --from=build /src/ModSecurity/unicode.mapping /usr/local/nginx/conf/conf.d/include/unicode.mapping
Expand Down

0 comments on commit 210a9e9

Please sign in to comment.