Skip to content

Instantly share code, notes, and snippets.

@edvardm
Last active May 17, 2017 09:09
Show Gist options
  • Save edvardm/ec3e8fb366968941af32b84c2e676f26 to your computer and use it in GitHub Desktop.
Save edvardm/ec3e8fb366968941af32b84c2e676f26 to your computer and use it in GitHub Desktop.
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