fix(core): update
This commit is contained in:
parent
ad3e4ad739
commit
944190eedc
12
Dockerfile
12
Dockerfile
@ -19,4 +19,16 @@ RUN apk update && apk add --no-cache \
|
||||
nodejs-npm \
|
||||
&& update-ca-certificates
|
||||
|
||||
# Add the patch fix
|
||||
COPY common/stack-fix.c /lib/
|
||||
|
||||
# Prepare the libraries packages
|
||||
RUN set -ex \
|
||||
&& apk add --no-cache --virtual .build-deps build-base \
|
||||
&& gcc -shared -fPIC /lib/stack-fix.c -o /lib/stack-fix.so \
|
||||
&& apk del .build-deps
|
||||
|
||||
# export the environment variable of LD_PRELOAD
|
||||
ENV LD_PRELOAD /lib/stack-fix.so
|
||||
|
||||
RUN npm config set unsafe-perm true
|
||||
|
Loading…
Reference in New Issue
Block a user