ht-docker-dbase/Dockerfile
2018-05-04 13:06:23 +02:00

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