Contains Dockerfiles for Docker CI containers to build and test ArduPilot on CI systems like GitHub Action. For daily development, you can use the dockerfile provide into ArduPilot directory, see https://ardupilot.org/dev/docs/building-setup-linux.html#id1
The docker images provide base environment to compile ArduPilot. They don't contain ArduPilot code but only the packages needed to compile the binaries. Each image is based on Ubuntu 20.04 or 22.04.
The main image is ardupilot-dev-base . Other images will inherit from it. Each image is specialized to contain only the necessary tools to build the related binaries.
- ardupilot/ardupilot-dev-base
- ardupilot/ardupilot-dev-chibios
- ardupilot/ardupilot-dev-chibios-clang
- ardupilot/ardupilot-dev-clang
- ardupilot/ardupilot-dev-armhf
- ardupilot/ardupilot-dev-armhf-musl
- ardupilot/ardupilot-dev-aarch64
- ardupilot/ardupilot-dev-coverage
- ardupilot/ardupilot-dev-periph
- ardupilot/ardupilot-dev-ros
cd docker
docker build -t ardupilot/ardupilot-dev-base -f Dockerfile_dev-base .
Docker images are build with GitHub Actions. On each PR, they are fresh build from latest source. In order to publish them to DockerHub, we need to make a release and tag the image.
The repo setting is quite simple, it needs GitHub Action and an account on DockerHub.
In order to be able to publish the image on DockerHub, you need to set two secrets on your repo setting :
DOCKER_USERNAME
and DOCKER_PASSWORD