Skip to content

Instantly share code, notes, and snippets.

@adamantivm
Created March 14, 2017 18:39
Show Gist options
  • Save adamantivm/9def3ef44d8de6d6f1714e0e949d96ab to your computer and use it in GitHub Desktop.
Save adamantivm/9def3ef44d8de6d6f1714e0e949d96ab to your computer and use it in GitHub Desktop.
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