@@ -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
@@ -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 \
@@ -17,6 +17,7 @@ Note that you may need to use `sudo docker` below, depending on your OS.
psiclient \
@@ -2,10 +2,13 @@
+
+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 \
@@ -51,6 +51,7 @@ Note that you may need to use `sudo docker` below, depending on your OS.
cd ../.. && \
-v $(pwd):/go/src/github.com/Psiphon-Labs/psiphon-tunnel-core \
psiandroid \