diff --git a/README.md b/README.md index d8e00fe..adf9251 100644 --- a/README.md +++ b/README.md @@ -28,9 +28,17 @@ sudo docker buildx create --name cross-platform --platform ${TARGETS} --use sudo docker buildx build -t / . --load # Build for multi-arch and push to registry -sudo docker build --build-arg TARGETS=${TARGETS} -t / \ +sudo docker buildx build --build-arg TARGETS=${TARGETS} -t / \ --platform ${TARGETS} . --push ``` + +> To change the version of the psiphon add --build-arg VERSION=
+e.g. +``` +# to build v2.0.22 +sudo docker buildx build --build-arg VERSION=2.0.22 -t / . --load +``` + *** ## To run using docker-compose (recommended):