fix: safer find|xargs

This commit is contained in:
DarkCat09 2025-03-13 20:22:27 +04:00
parent 6b3da81ed3
commit ad6acfeaf9
Signed by: DarkCat09
SSH key fingerprint: SHA256:SnH1iYY/ogxxRmt1I6piy+aVUUzrOWvfksQWfhZ8JUM

View file

@ -18,7 +18,7 @@ RUN mkdir /build/bootjdk /build/dist \
&& tar -xzf jdk21.tar.gz --directory=/build/bootjdk --strip-components=1 \
&& rm -f jdk21.tar.gz
RUN find /build/bootjdk -name '*.so' | xargs execstack -c
RUN find /build/bootjdk -name '*.so' -type f -print0 | xargs -0 -- execstack -c
RUN git clone --single-branch --depth 1 \
https://github.com/ibmruntimes/openj9-openjdk-jdk21.git \