Created
March 12, 2018 14:11
-
-
Save k0pernikus/31272884245a71dcf013b41cb894b4ea to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:16.04 | |
ARG DEBIAN_FRONTEND=noninteractive | |
RUN apt-get -qq update | |
RUN apt-get -qq install software-properties-common > /dev/null | |
RUN apt-add-repository ppa:git-core/ppa > /dev/null | |
RUN apt-get -qq update && apt-get -qq install python3-pip curl vim net-tools bash | |
ADD https://deb.nodesource.com/setup_8.x nodesetup.sh | |
RUN bash ./nodesetup.sh | |
RUN apt-get -qq install nodejs | |
RUN node -v | |
RUN useradd -ou 0 -g 0 -m node | |
USER node | |
RUN npm install -g --ignore-scripts --unsafe-perm @angular/cli |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
docker build .
will output: