Skip to content

Commit

Permalink
Update python.Dockerfile
Browse files Browse the repository at this point in the history
Signed-off-by: Zoey <zoey@z0ey.de>
  • Loading branch information
Zoey2936 authored Sep 17, 2024
1 parent 4454d5c commit b3dc397
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions python.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ COPY --from=zoeyvid/nginx-quic:latest /usr/local/nginx
COPY --from=zoeyvid/nginx-quic:latest /usr/local/openssl/.openssl /usr/local/openssl/.openssl
COPY --from=zoeyvid/nginx-quic:latest /usr/local/modsecurity/lib/libmodsecurity.so.3 /usr/local/modsecurity/lib/libmodsecurity.so.3
RUN apk upgrade --no-cache -a && \
apk add --no-cache ca-certificates tzdata tini zlib luajit pcre2 libstdc++ yajl libxml2 libxslt libcurl lmdb libfuzzy2 lua5.1-libs geoip libmaxminddb-libs && \
apk add --no-cache ca-certificates tzdata tini file \
zlib luajit pcre2 libstdc++ yajl libxml2 libxslt libcurl lmdb libfuzzy2 lua5.1-libs geoip libmaxminddb-libs && \
ln -s /usr/local/nginx/sbin/nginx /usr/local/bin/nginx && \
ln -s /usr/local/openssl/.openssl/bin/openssl /usr/local/bin/openssl && \
find /usr/local -exec file {} \; | grep "not stripped"
find /usr/local -exec file {} \; | grep "not stripped" && \
apk del --no-cache file

ENV OPENSSL_CONF=/usr/local/openssl/.openssl/openssl.cnf
ENTRYPOINT ["tini", "--", "nginx"]
Expand Down

0 comments on commit b3dc397

Please sign in to comment.