added yarn

This commit is contained in:
Philipp Kunz 2017-03-29 01:15:29 +02:00
parent 698017f11a
commit b784efb907
3 changed files with 4 additions and 6 deletions

View File

@ -5,6 +5,7 @@ ENV CONFIG_FLAGS="--fully-static" DEL_PKGS="libgcc libstdc++" RM_DIRS=/usr/inclu
RUN apk add --no-cache ca-certificates bash curl make gcc g++ python linux-headers paxctl libgcc libstdc++ gnupg && \ RUN apk add --no-cache ca-certificates bash curl make gcc g++ python linux-headers paxctl libgcc libstdc++ gnupg && \
update-ca-certificates && \ update-ca-certificates && \
curl -o- -L https://yarnpkg.com/install.sh | sh \ &&
gpg --keyserver pool.sks-keyservers.net --recv-keys 9554F04D7259F04124DE6B476D5A82AC7E37093B && \ gpg --keyserver pool.sks-keyservers.net --recv-keys 9554F04D7259F04124DE6B476D5A82AC7E37093B && \
gpg --keyserver pool.sks-keyservers.net --recv-keys 94AE36675C464D64BAFA68DD7434390BDBE9B9C5 && \ gpg --keyserver pool.sks-keyservers.net --recv-keys 94AE36675C464D64BAFA68DD7434390BDBE9B9C5 && \
gpg --keyserver pool.sks-keyservers.net --recv-keys 0034A06D9D9B0064CE8ADF6BF1747F4AD2306D93 && \ gpg --keyserver pool.sks-keyservers.net --recv-keys 0034A06D9D9B0064CE8ADF6BF1747F4AD2306D93 && \
@ -37,4 +38,5 @@ RUN apk add --no-cache ca-certificates bash curl make gcc g++ python linux-heade
/usr/share/man /tmp/* /var/cache/apk/* /root/.npm /root/.node-gyp /root/.gnupg \ /usr/share/man /tmp/* /var/cache/apk/* /root/.npm /root/.node-gyp /root/.gnupg \
/usr/lib/node_modules/npm/man /usr/lib/node_modules/npm/doc /usr/lib/node_modules/npm/html /usr/lib/node_modules/npm/man /usr/lib/node_modules/npm/doc /usr/lib/node_modules/npm/html
ENV PATH /root/.yarn/bin:$PATH
RUN npm install -g npmci RUN npm install -g npmci

View File

@ -1,2 +1 @@
FROM hosttoday/ht-docker-dbase:latest FROM hosttoday/ht-docker-dbase:latest
RUN npm install -g npmg

View File

@ -1,3 +0,0 @@
FROM hosttoday/ht-docker-dbase:latest
RUN npm install -g npmts
RUN npm install -g npmdocker