fix: safer find|xargs
Some checks failed
Docker Image CI / build-and-push (map[build-args:[] context:./ dockerfile:Dockerfile.piped image_name:piped]) (push) Failing after 5s
Docker Image CI / build-and-push (map[build-args:[WITH_JDK=false] context:./ dockerfile:Dockerfile.openj9 image_name:openj9]) (push) Successful in 9m48s
Some checks failed
Docker Image CI / build-and-push (map[build-args:[] context:./ dockerfile:Dockerfile.piped image_name:piped]) (push) Failing after 5s
Docker Image CI / build-and-push (map[build-args:[WITH_JDK=false] context:./ dockerfile:Dockerfile.openj9 image_name:openj9]) (push) Successful in 9m48s
This commit is contained in:
parent
6b3da81ed3
commit
ad6acfeaf9
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ RUN mkdir /build/bootjdk /build/dist \
|
||||||
&& tar -xzf jdk21.tar.gz --directory=/build/bootjdk --strip-components=1 \
|
&& tar -xzf jdk21.tar.gz --directory=/build/bootjdk --strip-components=1 \
|
||||||
&& rm -f jdk21.tar.gz
|
&& 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 \
|
RUN git clone --single-branch --depth 1 \
|
||||||
https://github.com/ibmruntimes/openj9-openjdk-jdk21.git \
|
https://github.com/ibmruntimes/openj9-openjdk-jdk21.git \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue