Remove paxctl as kernel is no longer hardened

This commit is contained in:
Disassembler 2018-07-09 16:21:48 +02:00
parent a9446fa1e4
commit 643ab39fb8
Signed by: Disassembler
GPG Key ID: 524BD33A0EE29499
5 changed files with 6 additions and 32 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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