From a464d3b4185d6c02c1ff6e9870b727e020d20a1e Mon Sep 17 00:00:00 2001 From: swarupsengupta2007 Date: Sat, 4 May 2024 20:23:54 +0530 Subject: [PATCH] updated README to include helper script decumentation --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index d214bcc..cbc2e33 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,22 @@ docker buildx build --build-arg TARGETS=${TARGETS} -t / --platform ${TARGETS} . --push ``` +Or +4. use the helper script make.bash as follows +```bash +# optional, choose targets (defaults to the following list) +export TARGETS="linux/amd64,linux/386,linux/arm64,linux/arm/v7,linux/arm/v6" + +# optional, choose psiphon version (defaults to the lastest committed docker image) +export VERSION=2.0.30 + +# optional, choose go version (currently 1.20) +export GO_VERSION=1.20 + +# run the script +./make.bash +``` + Build-args available |build-arg|default|Description| |--|--|--|