Skip to content

Commit

Permalink
fix: libz fix
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Bastide <[email protected]>
  • Loading branch information
prb112 committed Oct 3, 2024
1 parent f503a2b commit 5627c4c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions scripts/nx-gzip/manifests/04-buildconfig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,8 @@ spec:
dockerfile: |
FROM quay.io/fedora/nginx-126:latest
USER root
RUN dnf install -y libnxz
RUN rf -f /usr/lib64/libz.so.1* || true
RUN ln -s /usr/lib/libnxz.so.0.0 /usr/lib/libz.so
RUN ln -s /usr/lib64/libnxz.so.0.0 /usr/lib/libz.so
RUN dnf install -y libnxz pigz
RUN /usr/lib/libz.so /usr/lib/libz.so.bak
RUN ln -s /usr/lib/libnxz.so.0.0.64 /usr/lib/libz.so
ENTRYPOINT ["LD_PRELOAD=/usr/lib64/libnxz.so.0", "NX_GZIP_TRACE=8", "nginx", "-g", "daemon", "off;"]
runPolicy: Serial

0 comments on commit 5627c4c

Please sign in to comment.