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
|
# Install Java 1.8 JRE
|
||||||
apk --no-cache add openjdk8-jre-base paxctl \
|
apk --no-cache add openjdk8-jre-base paxctl \
|
||||||
# Fix grsec attributes to loosen memory protection restrictions
|
# 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/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
|
# Cleanup
|
||||||
&& apk --no-cache del paxctl
|
&& apk --no-cache del paxctl
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user