diff options
| author | Albin <albin@mullvad.net> | 2023-03-13 14:12:39 +0100 |
|---|---|---|
| committer | Albin <albin@mullvad.net> | 2023-03-14 15:43:17 +0100 |
| commit | 54fa298a69277cf70853e00ae2926fdd525c6423 (patch) | |
| tree | 2c7cca36fc07cea41ffa52fdbd18d5e660c923e1 | |
| parent | 2500ef4ee2d30e300f60887b73ce10bd6370e5ed (diff) | |
| download | mullvadvpn-54fa298a69277cf70853e00ae2926fdd525c6423.tar.xz mullvadvpn-54fa298a69277cf70853e00ae2926fdd525c6423.zip | |
Remove deprecated go dockerfile
| -rw-r--r-- | wireguard/libwg/Dockerfile_AndroidPatchedGoruntime | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/wireguard/libwg/Dockerfile_AndroidPatchedGoruntime b/wireguard/libwg/Dockerfile_AndroidPatchedGoruntime deleted file mode 100644 index 32e1591fe3..0000000000 --- a/wireguard/libwg/Dockerfile_AndroidPatchedGoruntime +++ /dev/null @@ -1,50 +0,0 @@ -# To build the image: -# docker build . -t quay.io/mullvad/mullvad-android-app-build -f Dockerfile_AndroidPatchedGoruntime -# To push the image to Quay.io: -# docker push quay.io/mullvad/mullvad-android-app-build - -FROM debian@sha256:75f7d0590b45561bfa443abad0b3e0f86e2811b1fc176f786cd30eb078d1846f - -RUN apt-get update -y && apt-get install -y \ - curl \ - file \ - gcc \ - git \ - make \ - python \ - unzip - -# Install Android NDK -RUN cd /tmp && \ - curl -sf -L -o ndk.zip https://dl.google.com/android/repository/android-ndk-r20b-linux-x86_64.zip && \ - echo "8381c440fe61fcbb01e209211ac01b519cd6adf51ab1c2281d5daad6ca4c8c8c ndk.zip" | sha256sum -c - && \ - mkdir /opt/android && \ - cd /opt/android && \ - unzip -q /tmp/ndk.zip && \ - rm /tmp/ndk.zip - - -ENV ANDROID_NDK_HOME="/opt/android/android-ndk-r20b" -ENV NDK_TOOLCHAIN_DIR="${ANDROID_NDK_HOME}/toolchains/llvm/prebuilt/linux-x86_64/bin" - -ENV GOLANG_VERSION 1.18.5 -ENV GOLANG_HASH 9e5de37f9c49942c601b191ac5fba404b868bfc21d446d6960acc12283d6e5f2 - -# Install Go-lang and patch it to use the appropriate monotonic clock -COPY goruntime-boottime-over-monotonic.diff /opt/goruntime-boottime-over-monotonic.diff -RUN cd /tmp && \ - curl -sf -L -o go.tgz https://go.dev/dl/go${GOLANG_VERSION}.linux-amd64.tar.gz && \ - echo "${GOLANG_HASH} go.tgz" | sha256sum -c - && \ - cd /opt && \ - tar -xzf /tmp/go.tgz && \ - rm /tmp/go.tgz && \ - patch -p1 -f -N -r- -d "/opt/go" < /opt/goruntime-boottime-over-monotonic.diff - -ENV PATH=${PATH}:/opt/go/bin -ENV GOROOT=/opt/go -ENV GOPATH=/opt/go-path - -RUN apt-get remove -y curl && \ - apt-get autoremove -y - -ENTRYPOINT [] |
