25 lines
426 B
Docker
25 lines
426 B
Docker
FROM docker:git
|
|
|
|
ENV VERSION=v8.11.1 NPM_VERSION=latest
|
|
ENV CONFIG_FLAGS="--fully-static" DEL_PKGS="libgcc libstdc++" RM_DIRS=/usr/include
|
|
|
|
RUN apk add --no-cache \
|
|
openssl \
|
|
ca-certificates \
|
|
bash \
|
|
curl \
|
|
make \
|
|
gcc \
|
|
g++ \
|
|
python \
|
|
linux-headers \
|
|
paxctl \
|
|
libgcc \
|
|
libstdc++ \
|
|
gnupg \
|
|
nodejs \
|
|
&& update-ca-certificates
|
|
|
|
RUN npm install -g @shipzone/npmci
|
|
RUN npm config set unsafe-perm true
|