28 lines
519 B
Docker
28 lines
519 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 \
|
|
yarn \
|
|
&& update-ca-certificates
|
|
|
|
RUN curl -o- -L https://yarnpkg.com/install.sh | sh
|
|
RUN yarn global add @shipzone/npmci
|
|
RUN npm config set unsafe-perm true
|
|
ENV PATH /root/.yarn/bin:$PATH
|