Commit b46c8834 authored by Hebant Martin's avatar Hebant Martin
Browse files

Keep bash_history and small imprv

parent 4a38a0db
ros:
build: ros
tty: true
environment:
- DISPLAY
- HOST_UID
......@@ -7,4 +8,5 @@ ros:
volumes:
- /tmp/.X11-unix:/tmp/.X11-unix
- ./ros/bashrc:/home/ros/.bashrc
- ./ros/.bash_history:/home/ros/.bash_history
# Add your volumes here
\ No newline at end of file
......@@ -4,16 +4,16 @@ FROM ros:kinetic-ros-core-xenial
RUN apt-get update && apt-get install -y \
ros-kinetic-desktop
# Setup ENTRYPOINT and CMD
COPY ./entrypoint.sh /
ENTRYPOINT ["/entrypoint.sh"]
CMD ["roscore"]
# Install sudo and allow NOPASSWD
RUN apt-get install -y \
sudo && \
sed -i 's/%sudo.*ALL/%sudo ALL=(ALL:ALL) NOPASSWD:ALL/' /etc/sudoers
# Setup ENTRYPOINT and CMD
COPY ./entrypoint.sh /
ENTRYPOINT ["/entrypoint.sh"]
CMD ["roscore"]
# Install yours packages here
#ex: RUN apt-get install -y python-pip
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment