Skip to content

Instantly share code, notes, and snippets.

@NicoPennec
Created October 11, 2017 16:27
Show Gist options
  • Save NicoPennec/82d3b2c58ca807b2c0e1741a3bb065c7 to your computer and use it in GitHub Desktop.
Save NicoPennec/82d3b2c58ca807b2c0e1741a3bb065c7 to your computer and use it in GitHub Desktop.
dockerfile ubuntu : node 8.x + npm + yarn
FROM ubuntu
USER root
RUN apt-get -y update && apt-get -y install curl
RUN curl -sL https://deb.nodesource.com/setup_8.x | bash -
RUN apt-get install -y nodejs
RUN npm -g i yarn
RUN yarn global add npm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment