Update building for all platforms
This commit is contained in:
parent
70b846c733
commit
6e4b6a4e6c
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue