Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 6.6 KB

README.md

File metadata and controls

45 lines (31 loc) · 6.6 KB

ArduPilot CI Containers

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

Container Hierarchy

Docker Images

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.

Images statistics

Building

cd docker
docker build -t ardupilot/ardupilot-dev-base -f Dockerfile_dev-base .

Release

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.

Setting

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