summaryrefslogtreecommitdiff
path: root/docker/android-ndk.dockerfile
diff options
context:
space:
mode:
authorVarac <varac@leap.se>2017-09-25 16:52:04 +0200
committercyBerta <cyberta@riseup.net>2017-09-29 08:56:24 +0200
commite0aa1cd978f978ed3ac90adaf8415b60ce039c79 (patch)
tree654bb43e24f219b0d493951052639cbe774a6b83 /docker/android-ndk.dockerfile
parent65dbc986bf6d965591971dafd10b69f9fe04682c (diff)
Build docker images from CI
Diffstat (limited to 'docker/android-ndk.dockerfile')
-rw-r--r--docker/android-ndk.dockerfile32
1 files changed, 0 insertions, 32 deletions
diff --git a/docker/android-ndk.dockerfile b/docker/android-ndk.dockerfile
deleted file mode 100644
index 0a3eabfd..00000000
--- a/docker/android-ndk.dockerfile
+++ /dev/null
@@ -1,32 +0,0 @@
-FROM 0xacab.org:4567/leap/bitmask_android/android-sdk:latest
-
-MAINTAINER LEAP Encryption Access Project <info@leap.se>
-LABEL Description="Android NDK image based on android-sdk baseimage" Vendor="LEAP" Version="r12b"
-
-# ------------------------------------------------------
-# --- Install System Dependencies
-
-RUN apt-get update -qq
-RUN DEBIAN_FRONTEND=noninteractive apt-get install -y \
- make gcc file lib32stdc++6 lib32z1 # JNI build dependencies w/ 32-bit compatible C libs
-
-# ------------------------------------------------------
-# --- Install Android NDK (for running C code)
-
-# NOTE(@aguestuser|4.23.17)
-# We woud like to use te current version of Android NDK (r14b) but cannot
-# due to pinned dependency on year-old version of `ics-openvpn`
-# which has transitive dependency on `openssl` which will not compile with `clang`
-# (starting in 13b, android ndk uses `clang` isntead of `gcc`)
-# Upon rebasing onto to current HEAD of `ics-openvpn` and resolving conflicts, we
-# should update to current version of `ndk`.
-
-ENV ANDROID_NDK_VERSION "r12b"
-ENV ANDROID_NDK_HOME ${ANDROID_HOME}/android-ndk-${ANDROID_NDK_VERSION}
-ENV ANDROID_NDK_URL http://dl.google.com/android/repository/android-ndk-${ANDROID_NDK_VERSION}-linux-x86_64.zip
-
-RUN curl -L $ANDROID_NDK_URL -o ndk.zip \
- && unzip ndk.zip -d $ANDROID_HOME \
- && rm -rf ndk.zip
-
-ENV PATH ${PATH}:${ANDROID_NDK_HOME}