Update building for all platforms
This commit is contained in:
parent
70b846c733
commit
6e4b6a4e6c
@ -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`)
|
##### 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`
|
`docker-compose build`
|
||||||
|
|
||||||
##### Building for all supported architectures (you have to have your environment setup for emulation of arm64 with `qemu`)
|
##### 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 --platform linux/arm64,linux/amd64,linux/386 .
|
`docker buildx build --push --platform linux/arm64,linux/amd64,linux/386 .`
|
||||||
|
|
||||||
#### 3. Create and start the container
|
#### 3. Create and start the container
|
||||||
`docker-compose up -d`
|
`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`)
|
##### 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`
|
`docker-compose build`
|
||||||
|
|
||||||
##### Building for all supported architectures (you have to have your environment setup for emulation of arm64 with `qemu`)
|
##### 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 --platform linux/arm64,linux/amd64,linux/386 .
|
`docker buildx build --push --platform linux/arm64,linux/amd64,linux/386 .`
|
||||||
|
|
||||||
#### 3. Create and start the new container
|
#### 3. Create and start the new container
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user