Skip to content

Commit

Permalink
Merge pull request #106 from ruffsl/sros
Browse files Browse the repository at this point in the history
Remove unnecessary hack and set bashrc for SROS1 image
  • Loading branch information
ruffsl authored Jan 13, 2018
2 parents 0a43472 + b2bf197 commit c0078c7
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions sros/kinetic/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -65,17 +65,16 @@ 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
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/

Expand Down

0 comments on commit c0078c7

Please sign in to comment.