Remove paxctl as kernel is no longer hardened
This commit is contained in:
parent
a9446fa1e4
commit
643ab39fb8
@ -3,11 +3,4 @@ MAINTAINER Disassembler <disassembler@dasm.cz>
|
||||
|
||||
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/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
|
||||
apk --no-cache add openjdk8-jre-base
|
||||
|
@ -3,11 +3,7 @@ MAINTAINER Disassembler <disassembler@dasm.cz>
|
||||
|
||||
RUN \
|
||||
# Install NodeJS runtime
|
||||
apk --no-cache add nodejs paxctl \
|
||||
# Fix grsec attributes to loosen memory protection restrictions
|
||||
&& paxctl -cm /usr/bin/node \
|
||||
# Cleanup
|
||||
&& apk --no-cache del paxctl
|
||||
apk --no-cache add nodejs
|
||||
|
||||
RUN \
|
||||
# Install runtime dependencies
|
||||
|
@ -3,11 +3,7 @@ MAINTAINER Disassembler <disassembler@dasm.cz>
|
||||
|
||||
RUN \
|
||||
# Install NodeJS runtime
|
||||
apk --no-cache add nodejs paxctl \
|
||||
# Fix grsec attributes to loosen memory protection restrictions
|
||||
&& paxctl -cm /usr/bin/node \
|
||||
# Cleanup
|
||||
&& apk --no-cache del paxctl
|
||||
apk --no-cache add nodejs
|
||||
|
||||
RUN \
|
||||
# Install runtime dependencies
|
||||
|
@ -3,11 +3,7 @@ MAINTAINER Disassembler <disassembler@dasm.cz>
|
||||
|
||||
RUN \
|
||||
# Install NodeJS runtime
|
||||
apk --no-cache add nodejs paxctl \
|
||||
# Fix grsec attributes to loosen memory protection restrictions
|
||||
&& paxctl -cm /usr/bin/node \
|
||||
# Cleanup
|
||||
&& apk --no-cache del paxctl
|
||||
apk --no-cache add nodejs
|
||||
|
||||
RUN \
|
||||
# Install runtime dependencies
|
||||
@ -15,10 +11,7 @@ RUN \
|
||||
|
||||
RUN \
|
||||
# Install build dependencies for ODK Build
|
||||
apk --no-cache add --virtual .deps build-base git linux-headers openjdk8-jre-base paxctl postgresql-dev \
|
||||
# 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 \
|
||||
apk --no-cache add --virtual .deps build-base git linux-headers openjdk8-jre-base postgresql-dev \
|
||||
# Clone ODK Build
|
||||
&& git clone --depth 1 https://github.com/opendatakit/build /srv/opendatakit-build \
|
||||
# Install Ruby dependencies
|
||||
|
@ -3,11 +3,7 @@ MAINTAINER Disassembler <disassembler@dasm.cz>
|
||||
|
||||
RUN \
|
||||
# Install NodeJS runtime
|
||||
apk --no-cache add nodejs paxctl \
|
||||
# Fix grsec attributes to loosen memory protection restrictions
|
||||
&& paxctl -cm /usr/bin/node \
|
||||
# Cleanup
|
||||
&& apk --no-cache del paxctl
|
||||
apk --no-cache add nodejs
|
||||
|
||||
RUN \
|
||||
# Install runtime dependencies
|
||||
|
Loading…
Reference in New Issue
Block a user