forked from farwayer/docker-react-native
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
32 lines (31 loc) · 999 Bytes
/
Dockerfile
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
26
27
28
29
30
31
32
FROM pritunl/archlinux
MAINTAINER farwayer <farwayer@gmail.com>
RUN printf "[multilib]\n"\
"Include=/etc/pacman.d/mirrorlist\n"\
"[mobile]\n"\
"SigLevel = Never\n"\
'Server=https://farwayer.keybase.pub/arch/$repo' >> /etc/pacman.conf
RUN pacman --noconfirm -Sy yarn npm watchman jdk8-openjdk git\
fastlane python2 make gcc\
android-platform-23\
android-platform-24\
android-platform-25\
android-platform-26\
android-platform-27\
android-platform-28\
android-sdk-build-tools-23.0.1\
android-sdk-build-tools-23.0.3\
android-sdk-build-tools-25\
android-sdk-build-tools-25.0.2\
android-sdk-build-tools-25.0.3\
android-sdk-build-tools-26.0.1\
android-sdk-build-tools-26.0.2\
android-sdk-build-tools-26.0.3\
android-sdk-build-tools-27.0.3\
android-sdk-build-tools-28.0.2\
android-google-repository\
android-support-repository\
&& yes | pacman -Scc\
&& rm -rf /usr/lib/ruby/gems/*/{cache,doc} /usr/share/{doc,man,locale}\
&& mkdir /var/run/watchman
ENV ANDROID_HOME=/opt/android-sdk