-
Notifications
You must be signed in to change notification settings - Fork 0
/
Containerfile
14 lines (10 loc) · 884 Bytes
/
Containerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
FROM archlinux
RUN printf '[aurbuild]\nServer = https://aurbuild.xdavidwu.link\n' >> /etc/pacman.conf
RUN curl 'https://keyserver.ubuntu.com/pks/lookup?op=get&search=0xf73f137d4573defaa097dbf09544cff6b08a3fd3' | pacman-key -a - && pacman-key --init && pacman-key --lsign-key f73f137d4573defaa097dbf09544cff6b08a3fd3 && pacman -Syu --noconfirm && pacman -S --noconfirm jdk17-openjdk android-sdk-cmdline-tools-latest android-platform-33 android-sdk-build-tools-33 android-ndk-beta android-aarch64-boost android-aarch64-openssl cmake ninja python-yaml && rm /var/cache/pacman/pkg/* && mkdir /build
WORKDIR /build
# XXX: use /etc/profile.d/*.sh instead?
ENV ANDROID_HOME=/opt/android-sdk
ENV ANDROID_SDK_ROOT=/opt/android-sdk
ENV ANDROID_NDK=/opt/android-ndk-beta
ENV ANDROID_NDK_HOME=/opt/android-ndk-beta
LABEL org.opencontainers.image.source=https://github.com/xdavidwu/saf-cephfs