From df7453e54167c278f4f05ec8b7fcfb378d0a6cc0 Mon Sep 17 00:00:00 2001 From: eXtremeSHOK Date: Fri, 13 Jul 2018 04:19:01 +0200 Subject: [PATCH] Bug fix for segfault --- dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dockerfile b/dockerfile index b7271bd4a2..32b1cd8848 100644 --- a/dockerfile +++ b/dockerfile @@ -3,6 +3,10 @@ FROM alpine:3.7 RUN apk --update --no-cache add \ nodejs \ nodejs-npm + +# Bug fix for segfault ( Convert PT_GNU_STACK program header into PT_PAX_FLAGS ) +RUN apk --update --no-cache add paxctl \ + && paxctl -cm $(which node) RUN mkdir -p /usr/src/{app,bin,lib} WORKDIR /usr/src/app