zalando-stups / docker-node

DEPRECATED: Docker image with Node.js and Zalando CA
8 stars 9 forks source link

Build with cdp #36

Closed harti2006 closed 7 years ago

harti2006 commented 7 years ago

Enable continuous delivery platform builds

aermakov-zalando commented 7 years ago

npm 3 is apparently too broken, so use something like this:

RUN mkdir /tmp/npm_install && \
    cd /tmp/npm_install && \
    npm install npm@"$NPM_VERSION" > /dev/null && \
    /tmp/npm_install/node_modules/.bin/npm install -g npm@"$NPM_VERSION" > /dev/null && \
    /tmp/npm_install/node_modules/.bin/npm install -g npm@"$NPM_VERSION" > /dev/null && \
    rm -rf /tmp/npm_install
harti2006 commented 7 years ago

:+1:

harti2006 commented 7 years ago

Thanks @aermakov-zalando it works as expected now.

aermakov-zalando commented 7 years ago

👍