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 \
|
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
|
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user