From 6e4b6a4e6cfc663c399da6af0b5fd8eff8e1be22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20=C5=A0tefka?= Date: Sun, 15 May 2022 14:28:17 +0200 Subject: [PATCH] Update building for all platforms --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 4baca2c..2ba2afd 100644 --- a/README.md +++ b/README.md @@ -106,8 +106,8 @@ volumes: ##### Building only for the architecture you are building the image on (when building on Raspberry Pi result will be `arm64`, when on pc result will be `amd64`) `docker-compose build` -##### Building for all supported architectures (you have to have your environment setup for emulation of arm64 with `qemu`) - `docker buildx build --platform linux/arm64,linux/amd64,linux/386 . +##### Building for all supported architectures (you have to have your environment setup for emulation of arm64 with `qemu`) - you have to push to DockerHub + `docker buildx build --push --platform linux/arm64,linux/amd64,linux/386 .` #### 3. Create and start the container `docker-compose up -d` @@ -127,8 +127,8 @@ volumes: ##### Building only for the architecture you are building the image on (when building on Raspberry Pi result will be `arm64`, when on pc result will be `amd64`) `docker-compose build` -##### Building for all supported architectures (you have to have your environment setup for emulation of arm64 with `qemu`) - `docker buildx build --platform linux/arm64,linux/amd64,linux/386 . +##### Building for all supported architectures (you have to have your environment setup for emulation of arm64 with `qemu`) - you have to push to DockerHub + `docker buildx build --push --platform linux/arm64,linux/amd64,linux/386 .` #### 3. Create and start the new container