Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker: Install ros-ign from Debian #732

Merged
merged 2 commits into from
Dec 17, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion docker/cloudsim_bridge/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,13 @@ RUN sudo apt-get update -qq \
wget \
net-tools \
iputils-ping \
g++-8 \
&& sudo apt-get clean -qq

RUN sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 800 --slave /usr/bin/g++ g++ /usr/bin/g++-8 --slave /usr/bin/gcov gcov /usr/bin/gcov-8

RUN gcc --version

# Install AWS CLI. This is needed by cloudsim to capture ROS logs.
RUN pip3 install --upgrade awscli=="1.16.220"
VOLUME /root/.aws
Expand Down Expand Up @@ -73,6 +78,12 @@ RUN sudo apt-get update \
ignition-dome \
&& sudo apt-get clean

# install the ros to ign bridge
RUN sudo apt-get update \
&& sudo apt-get install -y \
ros-melodic-ros-ign \
&& sudo apt-get clean -qq

# Make a couple folders for organizing docker volumes
RUN mkdir ~/workspaces ~/other

Expand All @@ -86,7 +97,6 @@ RUN rosdep update
RUN mkdir -p subt_ws/src \
&& cd subt_ws/src \
&& git config --global http.postBuffer 1048576000 \
&& git clone https://github.com/ignitionrobotics/ros_ign -b melodic \
&& git clone https://github.com/osrf/subt

WORKDIR /home/$USERNAME/subt_ws
Expand Down