-
-
Save intuitivepixel/6b0d901f6c7aeb6dc31b to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| # Docker version 1.1.2, build d84a070 | |
| FROM ubuntu:14.04 | |
| RUN apt-get update && apt-get install -y \ | |
| git \ | |
| software-properties-common \ | |
| python-software-properties \ | |
| make\ | |
| gcc \ | |
| g++ \ | |
| curl \ | |
| wget \ | |
| tar \ | |
| openssh-server \ | |
| nano | |
| RUN mkdir /var/run/sshd | |
| RUN echo 'root:tomster'|chpasswd | |
| RUN add-apt-repository ppa:chris-lea/node.js | |
| RUN apt-get update && apt-get install -y \ | |
| nodejs | |
| # Create a nonroot user, and switch to it | |
| RUN /usr/sbin/useradd --create-home --home-dir /usr/local/nonroot --shell /bin/bash nonroot | |
| RUN /usr/sbin/adduser nonroot sudo | |
| RUN echo 'nonroot:tomster'|chpasswd | |
| RUN chown -R nonroot /usr/local/ | |
| RUN chown -R nonroot /usr/lib/ | |
| RUN chown -R nonroot /usr/bin/ | |
| RUN /bin/su nonroot | |
| RUN npm install -g ember-cli | |
| RUN npm install -g bower | |
| RUN npm install -g phantomjs | |
| RUN npm install -g forever | |
| RUN exit | |
| EXPOSE 22 | |
| EXPOSE 4200 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment