Просмотр исходного кода

Merge branch 'master' of https://github.com/Psiphon-Labs/psiphon-tunnel-core

Rod Hynes 3 лет назад
Родитель
Сommit
a854b95ab8

+ 1 - 1
ClientLibrary/Dockerfile

@@ -2,7 +2,7 @@
 #
 # See README.md for usage instructions.
 
-FROM ubuntu:18.04
+FROM --platform=linux/amd64 ubuntu:18.04
 
 # Install system-level dependencies.
 ENV DEBIAN_FRONTEND=noninteractive

+ 1 - 0
ClientLibrary/README.md

@@ -60,6 +60,7 @@ Note that you may need to use `sudo docker` below, depending on your OS.
 ```bash
 cd .. && \
   docker run \
+  --platform=linux/amd64 \
   --rm \
   -v $PWD:/go/src/github.com/Psiphon-Labs/psiphon-tunnel-core \
   psiclientlibrary-builder \

+ 1 - 1
ConsoleClient/Dockerfile

@@ -2,7 +2,7 @@
 #
 # See README.md for usage instructions.
 
-FROM ubuntu:18.04
+FROM --platform=linux/amd64 ubuntu:18.04
 
 # Install system-level dependencies.
 ENV DEBIAN_FRONTEND=noninteractive

+ 1 - 0
ConsoleClient/README.md

@@ -17,6 +17,7 @@ Note that you may need to use `sudo docker` below, depending on your OS.
 ```bash
 cd .. && \
   docker run \
+  --platform=linux/amd64 \
   --rm \
   -v $PWD:/go/src/github.com/Psiphon-Labs/psiphon-tunnel-core \
   psiclient \

+ 4 - 1
MobileLibrary/Android/Dockerfile

@@ -2,10 +2,13 @@
 #
 # See README.md for usage instructions.
 
-FROM ubuntu:18.04
+FROM --platform=linux/amd64 ubuntu:18.04
 
 # Install system-level dependencies.
 ENV DEBIAN_FRONTEND=noninteractive
+
+RUN mkdir -p /usr/share/man/man1 # fixes https://stackoverflow.com/a/69844974
+
 RUN apt-get update -y && apt-get install -y --no-install-recommends \
     build-essential \
     ca-certificates \

+ 1 - 0
MobileLibrary/Android/README.md

@@ -51,6 +51,7 @@ Note that you may need to use `sudo docker` below, depending on your OS.
 ```bash
 cd ../.. && \
   docker run \
+  --platform=linux/amd64 \
   --rm \
   -v $(pwd):/go/src/github.com/Psiphon-Labs/psiphon-tunnel-core \
   psiandroid \