You can use docker buildx to build an image from scratch on each architecture and upload to https://hub.docker.com/u/nicolasvan
So we can use these images as intermediaries stages in the final build process without relying on scripts to validate the architecture.
Example of Usage:
FROM debian:bullseye-slim
...
RUN apt-get install php-fpm nginx
...
COPY --from=nicolasvan/multirun:1.1.3-glibc /multirun /usr/bin/multirun
CMD ["/usr/bin/multirun", "/usr/sbin/php-fpm", "/usr/sbin/nginx"]
You can use docker buildx to build an image from scratch on each architecture and upload to https://hub.docker.com/u/nicolasvan So we can use these images as intermediaries stages in the final build process without relying on scripts to validate the architecture. Example of Usage:
Examples files do build
Dockerfile
to build multirun in Docker multi-archAnd build with
You can create this build in Github Actions and change wget to a copy using content from checkout action