From 295b8cfdec251852e2c002f2b5fd4299e63d1559 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Sat, 10 Jun 2023 10:01:06 +0200 Subject: add new version --- README.md | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index def7979..66762bf 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,10 @@ -# docker-mdns-repeater-mikrotik - - -Save Image as Tar.gz - -```bash -docker save registry.mgrote.net/mdns-repeater-mikrotik:latest -o ./mdns-repeater-mikrotik:latest.tgz +# How to build the container +To build the container make the script executable `chmod +x ./build_image.sh` and run it with one of the desired architectures as first parameter ``` +sudo ./build_image.sh [x86|arm|arm64] +``` +If you want to build the container for a platform different to your current run this once before building +``` +sudo docker run --privileged --rm docker/binfmt:a7996909642ee92942dcd6cff44b9b95f08dad64 +``` +The final images are places in the `images` subfolder in the build directory. -- cgit v1.2.3