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

Keep bash_history and small imprv

parent 4a38a0db
ros: ros:
build: ros build: ros
tty: true
environment: environment:
- DISPLAY - DISPLAY
- HOST_UID - HOST_UID
...@@ -7,4 +8,5 @@ ros: ...@@ -7,4 +8,5 @@ ros:
volumes: volumes:
- /tmp/.X11-unix:/tmp/.X11-unix - /tmp/.X11-unix:/tmp/.X11-unix
- ./ros/bashrc:/home/ros/.bashrc - ./ros/bashrc:/home/ros/.bashrc
- ./ros/.bash_history:/home/ros/.bash_history
# Add your volumes here # Add your volumes here
\ No newline at end of file
...@@ -4,16 +4,16 @@ FROM ros:kinetic-ros-core-xenial ...@@ -4,16 +4,16 @@ FROM ros:kinetic-ros-core-xenial
RUN apt-get update && apt-get install -y \ RUN apt-get update && apt-get install -y \
ros-kinetic-desktop ros-kinetic-desktop
# Setup ENTRYPOINT and CMD
COPY ./entrypoint.sh /
ENTRYPOINT ["/entrypoint.sh"]
CMD ["roscore"]
# Install sudo and allow NOPASSWD # Install sudo and allow NOPASSWD
RUN apt-get install -y \ RUN apt-get install -y \
sudo && \ sudo && \
sed -i 's/%sudo.*ALL/%sudo ALL=(ALL:ALL) NOPASSWD:ALL/' /etc/sudoers 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 # Install yours packages here
#ex: RUN apt-get install -y python-pip #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