Docker Crossarch builds
This repository contains the code required to build cross-architecture Docker images on a daily basis. Images are built automatically on Travis CI.
What does it do?
The build script emulates, using QEMU, all supported environments and triggers a Docker build of all Dockerfile. Then, the following tags are pushed:
If the release scheme of the software is MAJOR.MINOR, these tags are also pushed:
Plus, if the software follows semver:
Add a new software
Of course, we appreciate contributions.
- Fork the project
- Duplicate one of the current software folder in the repos directory. It contains:
Dockerfile. It is a normal Dockerfile, except it does not have a
Repofile.js. This contains a function that must return the version of the software
README.md. It describes how to use your image
- Add a
<yoursoftware>key to the repos/settings.json file The following settings must be set:
image: The base image to use. Can be
versioning: The versioning scheme of the software. Can be
- Add a
BUILD=<yoursoftware>job to the
- Submit a PR
Notes for Dockerfile
- A fresh, up-to-date (24h or less) Alpine (edge) or Ubuntu (latest release) image is used
CROSSARCH_ARCHenvironment variable is set to the currently being built architecture