Includes the necessary tools to cross-compile code for ARM Cortex-M0/1/3/4 devices.
Anticipation is to use with gitlab-ci-multi-runner (and similar) continuous integration build environment.
Each Dockerfile lives in its own branch for it's respective upstream distribution release. This enables Docker Hub to do smart builds and only builds the branches that change instead of rebuilding everything.
Run this on your build machine (i.e. your always on dev machine or cloud instance):
docker run -d --name gitlab-runner --restart always \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /srv/gitlab-runner/config:/etc/gitlab-runner \
gitlab/gitlab-runner:alpine
Run this on the build machine to connect it to the GitLab CI server. If you're running GitLab CE, update the URL as appropriate.
docker exec -it gitlab-runner gitlab-runner register \
--non-interactive \
--url "https://ci.gitlab.com/" \
--description "embedded" \
--executor "docker" \
--docker-image kylemanna/ci-embedded:latest \
--registration-token $REGISTRATION_TOKEN
This will create a runner on GitLab with the specified docker image.