Skip to content

Instantly share code, notes, and snippets.

@bdaylik bdaylik/Dockerfile
Created Mar 9, 2015

What would you like to do?
Dockerfile used in the "Dockerize your development environment" blog post.
FROM ubuntu
RUN apt-get install -y x11-apps
ENV USER=myuser UID=1000 GID=1000
RUN addgroup --gid ${GID} ${USER}
RUN adduser --home /home/${USER} --shell /bin/bash --uid ${UID} --gid ${GID} --disabled-password ${USER}
RUN echo "${USER} ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/${USER}
RUN chmod 0440 /etc/sudoers.d/${USER}
RUN echo "deb /" > /etc/apt/sources.list.d/sbt.list
RUN apt-get update
RUN apt-get install --force-yes -y openjdk-7-jdk git sbt
USER myuser
RUN git clone ~/scala-logging
RUN sudo apt-get install -y wget
RUN wget "" -O ~/idea.tgz
RUN cd ~ && tar -xzvf ~/idea.tgz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.