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 \ 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
# 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

View File

@ -3,11 +3,7 @@ MAINTAINER Disassembler <disassembler@dasm.cz>
RUN \ RUN \
# Install NodeJS runtime # Install NodeJS runtime
apk --no-cache add nodejs paxctl \ apk --no-cache add nodejs
# Fix grsec attributes to loosen memory protection restrictions
&& paxctl -cm /usr/bin/node \
# Cleanup
&& apk --no-cache del paxctl
RUN \ RUN \
# Install runtime dependencies # Install runtime dependencies

View File

@ -3,11 +3,7 @@ MAINTAINER Disassembler <disassembler@dasm.cz>
RUN \ RUN \
# Install NodeJS runtime # Install NodeJS runtime
apk --no-cache add nodejs paxctl \ apk --no-cache add nodejs
# Fix grsec attributes to loosen memory protection restrictions
&& paxctl -cm /usr/bin/node \
# Cleanup
&& apk --no-cache del paxctl
RUN \ RUN \
# Install runtime dependencies # Install runtime dependencies

View File

@ -3,11 +3,7 @@ MAINTAINER Disassembler <disassembler@dasm.cz>
RUN \ RUN \
# Install NodeJS runtime # Install NodeJS runtime
apk --no-cache add nodejs paxctl \ apk --no-cache add nodejs
# Fix grsec attributes to loosen memory protection restrictions
&& paxctl -cm /usr/bin/node \
# Cleanup
&& apk --no-cache del paxctl
RUN \ RUN \
# Install runtime dependencies # Install runtime dependencies
@ -15,10 +11,7 @@ RUN \
RUN \ RUN \
# Install build dependencies for ODK Build # Install build dependencies for ODK Build
apk --no-cache add --virtual .deps build-base git linux-headers openjdk8-jre-base paxctl postgresql-dev \ apk --no-cache add --virtual .deps build-base git linux-headers openjdk8-jre-base 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 \
# Clone ODK Build # Clone ODK Build
&& git clone --depth 1 https://github.com/opendatakit/build /srv/opendatakit-build \ && git clone --depth 1 https://github.com/opendatakit/build /srv/opendatakit-build \
# Install Ruby dependencies # Install Ruby dependencies

View File

@ -3,11 +3,7 @@ MAINTAINER Disassembler <disassembler@dasm.cz>
RUN \ RUN \
# Install NodeJS runtime # Install NodeJS runtime
apk --no-cache add nodejs paxctl \ apk --no-cache add nodejs
# Fix grsec attributes to loosen memory protection restrictions
&& paxctl -cm /usr/bin/node \
# Cleanup
&& apk --no-cache del paxctl
RUN \ RUN \
# Install runtime dependencies # Install runtime dependencies