Closed rob-clarke closed 3 years ago
An initial start at a build script. https://github.com/UoBFlightLab/ProjectStarling/tree/build-scripts
May be of interest: https://www.henry.wang/2019/12/05/arm-dockerhub.html
docker buildx bake
appears to be the way forward. I've got a GitHub workflow working using it that pushes to DockerHub.
The build script has also been updated to use bake
for local image builds. However, I'm running into a bug at the moment with the local arm64 build of controller-base
when using rosdep
to install the dependencies of mavros_msgs
:
subprocess.CalledProcessError: Command '('lsb_release', '-a')' returned non-zero exit status 1.
At the moment, we are using makefiles to automate building the docker images. The makefiles tag the images with a "local" name. To enable pushing to hub.docker.com, we should tag them with the full name:
We may also want to look at automatic version tagging once things get a bit more stable to avoid everything being on
:latest