Skip to content

Instantly share code, notes, and snippets.

@oivoodoo
Created June 11, 2017 13:39
Show Gist options
  • Select an option

  • Save oivoodoo/6a928a8ead7a9508300d19d9a79e2f97 to your computer and use it in GitHub Desktop.

Select an option

Save oivoodoo/6a928a8ead7a9508300d19d9a79e2f97 to your computer and use it in GitHub Desktop.
Install older version of node and npm
FROM mhart/alpine-node:base-0.12
RUN apk update \
&& apk add curl \
&& apk add tar \
&& rm -rf /var/cache/apk/*
RUN curl -L https://npmjs.org/install.sh -o - | clean=yes npm_install=2.15.11 sh
WORKDIR /app
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment