-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify the relay tutorial docker setup (#530)
Removed build.sh and run.sh scripts that were really not needed to just run the relay example. Modify the instructions accordingly. --------- Signed-off-by: Jose Luis Rivero <[email protected]>
- Loading branch information
Showing
5 changed files
with
70 additions
and
239 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
# Ubuntu 24.04 | ||
FROM ubuntu:noble | ||
|
||
ENV TZ=America/Los_Angeles | ||
ENV DEBIAN_FRONTEND=noninteractive | ||
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone | ||
|
||
# Tools I find useful during development | ||
RUN apt-get update \ | ||
&& apt-get install -y \ | ||
cmake \ | ||
pkg-config \ | ||
cppcheck \ | ||
git \ | ||
mercurial \ | ||
build-essential \ | ||
curl \ | ||
libprotobuf-dev \ | ||
protobuf-compiler \ | ||
libprotoc-dev \ | ||
libzmq3-dev \ | ||
net-tools \ | ||
uuid-dev \ | ||
doxygen \ | ||
ruby-ronn \ | ||
libsqlite3-dev \ | ||
python3-pybind11 \ | ||
sudo \ | ||
gnupg \ | ||
lsb-release \ | ||
wget \ | ||
tzdata \ | ||
&& apt-get clean | ||
|
||
# Install gazebo dependencies | ||
RUN /bin/sh -c 'echo "deb [trusted=yes] http://packages.osrfoundation.org/gazebo/ubuntu-stable `lsb_release -cs` main" > /etc/apt/sources.list.d/gazebo-stable.list' \ | ||
&& /bin/sh -c 'wget http://packages.osrfoundation.org/gazebo.key -O - | apt-key add -' \ | ||
&& apt-get update \ | ||
&& apt-get install -y \ | ||
libgz-cmake4-dev \ | ||
libgz-math8-dev \ | ||
libgz-msgs11-dev \ | ||
libgz-utils3-cli-dev \ | ||
&& apt-get clean | ||
|
||
USER ubuntu | ||
WORKDIR /tmp | ||
# Gazebo transport | ||
RUN git clone https://github.com/gazebosim/gz-transport.git -b gz-transport14 | ||
RUN cd gz-transport \ | ||
&& mkdir build \ | ||
&& cd build \ | ||
&& cmake .. -DCMAKE_INSTALL_PREFIX=/tmp/gz-transport \ | ||
&& make -j4 install | ||
|
||
# Gazebo transport examples | ||
RUN cd gz-transport/example \ | ||
&& mkdir build \ | ||
&& cd build \ | ||
&& cmake .. -DCMAKE_INSTALL_PREFIX=/tmp/gz-transport \ | ||
&& make -j4 | ||
|
||
WORKDIR /tmp/gz-transport/example/build | ||
|
||
# Customize your image here. | ||
# E.g.: | ||
# ENV PATH="/opt/sublime_text:$PATH" |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters