Skip to content

SkyRats/ardupilot_dev_docker

 
 

Repository files navigation

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

For building ros2 image:

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

For building ros-bridge image:

cd docker
docker build -t ardupilot/ardupilot-dev-ros-bridge -f Dockerfile_dev-ros-bridge .

Running container

To run the ros bridge container:

docker run -it --name=bridge --net=host --rm ardupilot/ardupilot-dev-ros-bridge bash 

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%