-
-
Notifications
You must be signed in to change notification settings - Fork 510
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1485 from mavlink/pr-px4-v1.12
docker/workflows: add PX4 v1.12 release to CI
- Loading branch information
Showing
3 changed files
with
28 additions
and
1 deletion.
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,25 @@ | ||
# | ||
# PX4 v1.12.0 SITL testing environment for MAVSDK based on Ubuntu 20.04. | ||
# Author: Julian Oes <[email protected]> | ||
# | ||
FROM mavsdk/mavsdk-ubuntu-20.04 | ||
MAINTAINER Julian Oes <[email protected]> | ||
|
||
ENV FIRMWARE_DIR ${WORKDIR}../Firmware | ||
|
||
RUN apt-get update && \ | ||
apt-get install -y git locales \ | ||
&& apt-get -y autoremove \ | ||
&& apt-get clean autoclean \ | ||
&& rm -rf /var/lib/apt/lists/{apt,dpkg,cache,log} /tmp/* /var/tmp/* | ||
|
||
RUN locale-gen en_US.UTF-8 | ||
ENV LANG en_US.UTF-8 | ||
ENV LANGUAGE en_US:en | ||
ENV LC_ALL en_US.UTF-8 | ||
|
||
RUN git clone https://github.com/PX4/Firmware.git ${FIRMWARE_DIR} | ||
RUN git -C ${FIRMWARE_DIR} checkout v1.12.0 | ||
RUN git -C ${FIRMWARE_DIR} submodule update --init --recursive | ||
RUN cd ${FIRMWARE_DIR} && Tools/setup/ubuntu.sh --no-nuttx | ||
RUN cd ${FIRMWARE_DIR} && DONT_RUN=1 make px4_sitl gazebo && DONT_RUN=1 make px4_sitl gazebo |
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