-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simulation image for Ubuntu Jammy (#344)
* jammy: Add simulation target --------- Co-authored-by: Beniamino Pozzan <[email protected]>
- Loading branch information
1 parent
ae575b4
commit 3e7012b
Showing
3 changed files
with
67 additions
and
0 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
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,41 @@ | ||
# | ||
# PX4 Gazebo 7 (Garden) development environment in Ubuntu 22.04 Jammy | ||
# | ||
|
||
FROM px4io/px4-dev-base-jammy:latest | ||
LABEL maintainer="Thomas Debrunner <[email protected]>" | ||
|
||
RUN wget https://packages.osrfoundation.org/gazebo.gpg -O /usr/share/keyrings/pkgs-osrf-archive-keyring.gpg \ | ||
&& echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/pkgs-osrf-archive-keyring.gpg] http://packages.osrfoundation.org/gazebo/ubuntu-stable $(lsb_release -cs) main" | tee /etc/apt/sources.list.d/gazebo-stable.list > /dev/null \ | ||
&& apt-get update \ | ||
&& DEBIAN_FRONTEND=noninteractive apt-get -y --quiet --no-install-recommends install \ | ||
ant \ | ||
binutils \ | ||
bc \ | ||
dirmngr \ | ||
gz-garden \ | ||
gstreamer1.0-plugins-bad \ | ||
gstreamer1.0-plugins-base \ | ||
gstreamer1.0-plugins-good \ | ||
gstreamer1.0-plugins-ugly \ | ||
libeigen3-dev \ | ||
libgstreamer-plugins-base1.0-dev \ | ||
libimage-exiftool-perl \ | ||
libopencv-dev \ | ||
libxml2-utils \ | ||
mesa-utils \ | ||
protobuf-compiler \ | ||
x-window-system \ | ||
&& apt-get -y autoremove \ | ||
&& apt-get clean autoclean \ | ||
&& rm -rf /var/lib/apt/lists/{apt,dpkg,cache,log} /tmp/* /var/tmp/* | ||
|
||
# Some QT-Apps/Gazebo don't not show controls without this | ||
ENV QT_X11_NO_MITSHM 1 | ||
|
||
# Use UTF8 encoding in java tools (needed to compile jMAVSim) | ||
ENV JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF8 | ||
|
||
# Install JSBSim | ||
RUN wget https://github.com/JSBSim-Team/jsbsim/releases/download/v1.1.1a/JSBSim-devel_1.1.1-134.focal.amd64.deb | ||
RUN dpkg -i JSBSim-devel_1.1.1-134.focal.amd64.deb |
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