Created
March 14, 2017 18:39
-
-
Save adamantivm/9def3ef44d8de6d6f1714e0e949d96ab to your computer and use it in GitHub Desktop.
This file contains 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 ros:kinetic-ros-core | |
RUN apt-get update -y | |
RUN apt-get install sudo vim tmux git -y | |
RUN apt-get install xterm -y | |
RUN apt-get install ssh -y | |
RUN useradd -m docker && echo "docker:docker" | chpasswd && adduser docker sudo | |
RUN mkdir /home/docker/.ssh | |
ADD id_rsa /home/docker/.ssh/id_rsa | |
RUN chown -R docker:docker /home/docker/.ssh | |
RUN chmod 600 /home/docker/.ssh/id_rsa | |
ENTRYPOINT /bin/bash | |
USER docker | |
RUN git config --global user.name "Julian Cerruti" | |
RUN git config --global user.email "jcerruti@ekumenlabs.com" | |
CMD /bin/bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment