diff options
| author | Albin <albin@mullvad.net> | 2022-10-24 12:06:22 +0200 |
|---|---|---|
| committer | Albin <albin@mullvad.net> | 2022-10-24 18:06:40 +0200 |
| commit | ade7ece5a0494190b87aeebccfdb4840620dfc7d (patch) | |
| tree | db97d1aa0f94d9774d78630e811e7f767165c470 /android/docker/Dockerfile | |
| parent | 4d9b04d9050fc5e687ba463db9d2fc54ee714415 (diff) | |
| download | mullvadvpn-ade7ece5a0494190b87aeebccfdb4840620dfc7d.tar.xz mullvadvpn-ade7ece5a0494190b87aeebccfdb4840620dfc7d.zip | |
Improve go monotonic patch documentation
Diffstat (limited to 'android/docker/Dockerfile')
| -rw-r--r-- | android/docker/Dockerfile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/android/docker/Dockerfile b/android/docker/Dockerfile index 58a60980dd..8ecf7c4a87 100644 --- a/android/docker/Dockerfile +++ b/android/docker/Dockerfile @@ -13,6 +13,11 @@ # for more information. # === Base image (built from: ../../Dockerfile) === +# NOTE: When bumping the base image, it's important to keep the go patch applied +# in this image in sync with the go version used in the base image. An appropriate +# patch for a given go version can be identified by checking the wireguard-android +# repo: https://git.zx2c4.com/wireguard-android/tree/tunnel/tools/libwg-go. +# It's also important to keep the go path in sync. FROM ghcr.io/mullvad/mullvadvpn-app-build@sha256:b539c83c4336246fef1c324242b49b0fd35fb0839dffd2b9c9fc8361e629a40c # === Metadata === @@ -83,7 +88,7 @@ RUN curl -sfLo /tmp/ndk.zip https://dl.google.com/android/repository/android-ndk rm /tmp/ndk.zip # Apply go patch required for Android -# NOTE: The go path must match the one used in the base image. +# See the comment above the FROM instruction for more information. COPY goruntime-boottime-over-monotonic.diff /tmp/goruntime-boottime-over-monotonic.diff RUN patch -p1 -f -N -r- -d /usr/local/go < /tmp/goruntime-boottime-over-monotonic.diff && \ rm /tmp/goruntime-boottime-over-monotonic.diff |
