Fix grsec attributes for Java keytool (just in case)
This commit is contained in:
parent
55b698a5d5
commit
b298553bcf
@ -5,8 +5,10 @@ RUN \
|
||||
# Install Java 1.8 JRE
|
||||
apk --no-cache add openjdk8-jre-base paxctl \
|
||||
# Fix grsec attributes to loosen memory protection restrictions
|
||||
&& paxctl -cm /usr/lib/jvm/java-1.8-openjdk/jre/bin/java \
|
||||
&& paxctl -cm /usr/lib/jvm/java-1.8-openjdk/bin/java \
|
||||
&& paxctl -cm /usr/lib/jvm/java-1.8-openjdk/bin/keytool \
|
||||
&& paxctl -cm /usr/lib/jvm/java-1.8-openjdk/jre/bin/java \
|
||||
&& paxctl -cm /usr/lib/jvm/java-1.8-openjdk/jre/bin/keytool \
|
||||
# Cleanup
|
||||
&& apk --no-cache del paxctl
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user