Last active
May 17, 2017 09:09
-
-
Save edvardm/ec3e8fb366968941af32b84c2e676f26 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
FROM ubuntu:trusty | |
MAINTAINER [email protected] | |
ENV REVISION 0.1 | |
ENV DEBIAN_FRONTEND noninteractive | |
# system installation / dependencies | |
RUN apt-get -q -y update && \ | |
apt-get install -y git npm redis-server | |
RUN ln -s /usr/bin/nodejs /usr/bin/node | |
# app things | |
ENV APPUSER foo | |
RUN useradd -ms /bin/bash ${APPUSER} | |
USER ${APPUSER} | |
WORKDIR /home/${APPUSER} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment