| 1 | FROM ubuntu:20.04 |
| 2 | LABEL authors="konsti" |
| 3 | |
| 4 | ENV MONERO_BRANCH=release-v0.18.2.2-android |
| 5 | RUN apt-get update && \ |
| 6 | echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections && \ |
| 7 | apt-get install -y dialog apt-utils curl unzip automake build-essential file pkg-config git python libtool libtinfo5 cmake clang bison ccache |
| 8 | |
| 9 | RUN mkdir /opt/android/ |
| 10 | |
| 11 | WORKDIR /opt/android/cakewallet/ |
| 12 | |
| 13 | # build_all.sh |
| 14 | # build_boost.sh |
| 15 | # build_iconv.sh |
| 16 | # build_monero.sh |
| 17 | # build_openssl.sh |
| 18 | # build_sodium.sh |
| 19 | # build_unbound.sh |
| 20 | # build_zmq.sh |
| 21 | # config.sh |
| 22 | # copy_haven_deps.sh |
| 23 | # copy_monero_deps.sh |
| 24 | # docker-compose.yml |
| 25 | # entrypoint.sh |
| 26 | # finish_boost.sh |
| 27 | # init_boost.sh |
| 28 | # install_ndk.sh |
| 29 | |
| 30 | COPY config.sh /opt/android/cakewallet/ |
| 31 | COPY install_ndk.sh /opt/android/cakewallet/ |
| 32 | RUN ./install_ndk.sh |
| 33 | |
| 34 | COPY build_iconv.sh /opt/android/cakewallet/ |
| 35 | RUN ./build_iconv.sh |
| 36 | |
| 37 | COPY build_boost.sh /opt/android/cakewallet/ |
| 38 | COPY init_boost.sh /opt/android/cakewallet/ |
| 39 | COPY finish_boost.sh /opt/android/cakewallet/ |
| 40 | RUN ./build_boost.sh |
| 41 | |
| 42 | COPY build_openssl.sh /opt/android/cakewallet/ |
| 43 | RUN ./build_openssl.sh |
| 44 | |
| 45 | COPY build_sodium.sh /opt/android/cakewallet/ |
| 46 | RUN ./build_sodium.sh |
| 47 | |
| 48 | COPY build_unbound.sh /opt/android/cakewallet/ |
| 49 | RUN ./build_unbound.sh |
| 50 | |
| 51 | COPY build_zmq.sh /opt/android/cakewallet/ |
| 52 | RUN ./build_zmq.sh |
| 53 | |
| 54 | COPY entrypoint.sh /opt/android/cakewallet/ |
| 55 | COPY build_monero.sh /opt/android/cakewallet/ |
| 56 | COPY copy_monero_deps.sh /opt/android/cakewallet/ |
| 57 | |
| 58 | ENTRYPOINT ["./entrypoint.sh"] |