Updated Readme
This commit is contained in:
@@ -22,15 +22,13 @@ git clone https://github.com/swarupsengupta2007/psiphon-docker
|
||||
TARGETS="linux/amd64,linux/386,linux/arm64,linux/arm"
|
||||
|
||||
# Create a builder instance
|
||||
sudo docker buildx create --name cross-platform \
|
||||
--platform ${TARGETS} --use
|
||||
sudo docker buildx create --name cross-platform --platform ${TARGETS} --use
|
||||
|
||||
# Build for current platform and load to docker image
|
||||
sudo docker buildx build -t <your_username>/<your_tag> . --load
|
||||
|
||||
# Build for multi-arch and push to registry
|
||||
sudo docker build --build-arg TARGETS=${TARGETS} \
|
||||
-t <your_username>/<your_tag> \
|
||||
sudo docker build --build-arg TARGETS=${TARGETS} -t <your_username>/<your_tag> \
|
||||
--platform ${TARGETS} . --push
|
||||
```
|
||||
***
|
||||
|
||||
Reference in New Issue
Block a user