Fix grsec attributes for GNU Health NodeJS

This commit is contained in:
Disassembler 2018-02-01 11:54:17 +01:00
parent 2c5c191522
commit 1ba9f6252e
Signed by: Disassembler
GPG Key ID: 524BD33A0EE29499

View File

@ -10,9 +10,17 @@ RUN \
# Install runtime XML dependencies # Install runtime XML dependencies
apk --no-cache add libxml2 libxslt apk --no-cache add libxml2 libxslt
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
RUN \ RUN \
# Install runtime dependencies # Install runtime dependencies
apk --no-cache add bash coreutils libffi libjpeg-turbo libpq nodejs apk --no-cache add bash coreutils libffi libjpeg-turbo libpq
RUN \ RUN \
# Install build dependencies # Install build dependencies