forked from Tactical-Advantage-Trading/wallet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathContainerfile
25 lines (20 loc) · 899 Bytes
/
Containerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
FROM debian:sid-slim
RUN set -ex; \
mkdir -p /usr/share/man/man1/; \
apt-get update; \
apt-get install --yes --no-install-recommends openjdk-11-jdk git wget unzip; \
rm -rf /var/lib/apt/lists/*;
ENV ANDROID_SDK_ROOT="/app/sdk" \
ANDROID_HOME="/app/sdk" \
ANDROID_NDK_HOME="/app/sdk/ndk/22.1.7171670/" \
JAVA_TOOL_OPTIONS="-Dfile.encoding=UTF8"
RUN set -ex; \
mkdir -p "/app/sdk/licenses" "/app/sdk/ndk" "/app/simplebitcoinwallet/"; \
printf "\n24333f8a63b6825ea9c5514f83c2829b004d1fee" > "/app/sdk/licenses/android-sdk-license"; \
cd /app/sdk/; \
wget https://dl.google.com/android/repository/android-ndk-r22b-linux-x86_64.zip; \
unzip android-ndk-r22b-linux-x86_64.zip; \
rm android-ndk-r22b-linux-x86_64.zip; \
mv android-ndk-r22b "/app/sdk/ndk/22.1.7171670/";
WORKDIR /app/simplebitcoinwallet/wallet/
CMD ./gradlew assembleRelease