From b2bf197ae5bcbb8805f7d568b5f936f7d7294300 Mon Sep 17 00:00:00 2001 From: ruffsl Date: Wed, 3 Jan 2018 15:43:15 -0800 Subject: [PATCH] Remove unnecessary hack and set bashrc --- sros/kinetic/Dockerfile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/sros/kinetic/Dockerfile b/sros/kinetic/Dockerfile index 451659962..20e7464d7 100644 --- a/sros/kinetic/Dockerfile +++ b/sros/kinetic/Dockerfile @@ -65,10 +65,6 @@ RUN apt-get update && \ pip install --upgrade ../rospkg/ && \ rm -rf /var/lib/apt/lists/* -# HACK, replacing shell with bash for later docker build commands -RUN mv /bin/sh /bin/sh-old && \ - ln -s /bin/bash /bin/sh - # build repo WORKDIR $CATKIN_WS ENV TERM xterm @@ -76,6 +72,9 @@ ENV PYTHONIOENCODING UTF-8 RUN catkin config --install && \ catkin build --no-status --summarize +# setup demo bashrc +RUN echo 'source "$CATKIN_WS/install/setup.bash"' >> ~/.bashrc + # setup demo config COPY ./config /root/.ros/sros/config/