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 Sep 17, 2024
1 parent 41e818a commit 1c3acc4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,11 @@ RUN strip -s /usr/local/nginx/sbin/nginx && \
strip -s /usr/local/openssl/.openssl/bin/openssl && \
strip -s /usr/local/openssl/.openssl/lib/ossl-modules/oqsprovider.so && \
strip -s /usr/local/modsecurity/lib/libmodsecurity.so.3
RUN find /usr/local/nginx -exec file {} \; | grep "not stripped"
RUN find /usr/local/openssl/.openssl -exec file {} \; | grep "not stripped"
RUN find /usr/local/nginx -exec file {} \; | grep "not stripped" || true
RUN find /usr/local/openssl/.openssl -exec file {} \; | grep "not stripped" || true
RUN file /usr/local/modsecurity/lib/libmodsecurity.so.3
RUN file /src/ModSecurity/unicode.mapping
RUN file /src/ModSecurity/modsecurity.conf-recommended

FROM alpine:3.20.3
SHELL ["/bin/ash", "-eo", "pipefail", "-c"]
Expand Down

0 comments on commit 1c3acc4

Please sign in to comment.