Fix grsec attributes for GNU Health NodeJS
This commit is contained in:
parent
2c5c191522
commit
1ba9f6252e
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user