Updated dockerfile and README

This commit is contained in:
Swarup Sengupta
2022-06-18 12:57:10 +05:30
parent 5bc7383835
commit 0d4f91910c
2 changed files with 19 additions and 19 deletions
+1 -1
View File
@@ -1,8 +1,8 @@
ARG BUILDPLATFORM=$BUILDPLATFORM
FROM --platform=$BUILDPLATFORM golang:1.18 AS psiphon_builder
WORKDIR /go
LABEL stage=builder
ARG VERSION=2.0.23
ARG BUILDPLATFORM
ARG BUILDOS
ARG BUILDARCH
ARG TARGETS
+1 -1
View File
@@ -19,7 +19,7 @@ git clone https://github.com/swarupsengupta2007/psiphon-docker
3. Build docker image for current platform or multi-arch
```bash
# choose target platforms
TARGETS="linux/amd64,linux/386,linux/arm64,linux/arm/v7,linux/arm/v6"
TARGETS="linux/amd64,linux/386,linux/arm64,linux/arm/v7,linux/arm/v6,linux/ppc64le,linux/s390x"
# Create a builder instance
sudo docker buildx create --name cross-platform --platform ${TARGETS} --use