|
@@ -1,7 +1,7 @@
|
|
|
FROM docker.io/archlinux
|
|
FROM docker.io/archlinux
|
|
|
|
|
|
|
|
RUN pacman -Syu --noconfirm
|
|
RUN pacman -Syu --noconfirm
|
|
|
-RUN pacman -S --noconfirm jdk17-openjdk unzip wget cmake openssl pkgconf gcc git zip
|
|
|
|
|
|
|
+RUN pacman -S --noconfirm jdk17-openjdk unzip wget cmake make pkgconf gcc git zip
|
|
|
|
|
|
|
|
# github override HOME, so here we are
|
|
# github override HOME, so here we are
|
|
|
ENV RUSTUP_HOME=/usr/local/rustup \
|
|
ENV RUSTUP_HOME=/usr/local/rustup \
|
|
@@ -43,6 +43,10 @@ RUN cd /opt/ && \
|
|
|
rm android-ndk-r25-linux.zip
|
|
rm android-ndk-r25-linux.zip
|
|
|
ENV NDK_HOME /opt/android-ndk-r25/
|
|
ENV NDK_HOME /opt/android-ndk-r25/
|
|
|
|
|
|
|
|
|
|
+# Needed for cross compiling openssl which is used by bundled sqlcipher in drk
|
|
|
|
|
+ENV AR /opt/android-ndk-r25/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-ar
|
|
|
|
|
+ENV RANLIB /opt/android-ndk-r25/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-ranlib
|
|
|
|
|
+
|
|
|
# Copy contents to container. Should only use this on a clean directory
|
|
# Copy contents to container. Should only use this on a clean directory
|
|
|
WORKDIR /root/
|
|
WORKDIR /root/
|
|
|
RUN git clone https://github.com/narodnik/cargo-quad-apk cargo-apk
|
|
RUN git clone https://github.com/narodnik/cargo-quad-apk cargo-apk
|