Created
March 9, 2015 08:19
-
-
Save bdaylik/3abf11bcbc14541ab340 to your computer and use it in GitHub Desktop.
Dockerfile used in the "Dockerize your development environment" blog post.
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 | |
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 http://dl.bintray.com/sbt/debian /" > /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 https://github.com/typesafehub/scala-logging.git ~/scala-logging | |
RUN sudo apt-get install -y wget | |
RUN wget "http://download.jetbrains.com/idea/ideaIC-14.0.3.tar.gz" -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