ci: use noexecstack
Some checks failed
Docker Image CI / build-and-push (map[context:./ dockerfile:Dockerfile.openj9 image_name:openj9]) (pull_request) Failing after 16s
Docker Image CI / build-and-push (map[context:./ dockerfile:Dockerfile.piped image_name:piped]) (pull_request) Failing after 15s

This commit is contained in:
Даниил 2025-03-09 18:58:35 +04:00
parent 3617c61f68
commit 254f5bd4c0
Signed by: nm17
GPG key ID: 3303B70C59145CD4

View file

@ -24,7 +24,8 @@ RUN git clone --single-branch --depth 1 \
WORKDIR /build/src
RUN bash get_source.sh
RUN bash configure --with-boot-jdk=/build/bootjdk --with-openssl=system
RUN bash configure --with-boot-jdk=/build/bootjdk --with-openssl=system LDFLAGS="-Wl,-z,noexecstack"
RUN make all JOBS=$(nproc)
# jlink by advice from https://adoptium.net/blog/2021/10/jlink-to-produce-own-runtime/