PX4-Autopilot
PX4-Autopilot copied to clipboard
Docker multi arch image for development
My PR builds on the effort of many who have contributed to multiple docker images and setup scripts, and ultimately the credit should go to them. I created a new docker image to be used as the primary development image, and it has all the required dependencies to build any valid PX4 target. The image should be used on our CI pipeline.
How to run:
./Tools/docker_run.sh make all_variants_px4_fmu-v5x
./Tools/docker_run.sh make scumaker_pilotpi_arm64
./Tools/docker_run.sh make emlid_navio2_default
By default, it runs on the px4/px4-dev:latest
tag but can be configured to run on any tag with the DOCKER_TAG
environment variable.
DOCKER_TAG=tag ./Tools/docker_run.sh make all_variants_px4_fmu-v5x
How to build: There's a new docker build script that helps you get an image exactly how you want it. The script builds the "latest" tag by default unless specificed.
./Tools/docker_build.sh --with-java
DOCKER_TAG=tag ./Tools/docker_build.sh --with-java
For a complete list of build options, you can run:
$ ./Tools/setup/ubuntu.sh --help
#⚡️ PX4 Dependency Installer for Ubuntu
# Options:
#
# --with-java boolean
# --with-rtps boolean
# --no-nuttx boolean
# --no-sim-tools boolean
#
Technically depends on #19905, although I cherry-picked that commit on this branch