-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
20 lines (15 loc) · 1.06 KB
/
Dockerfile
File metadata and controls
20 lines (15 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM scriptandgo/android:20181018
RUN apt-get update -qq && apt-get install gnupg wget bzip2 libzip4 -y && apt install -y apt-transport-https
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF \
&& echo "deb https://download.mono-project.com/repo/debian stable-stretch main" > /etc/apt/sources.list.d/mono-official-stable.list
RUN apt update -qq \
&& apt install mono-devel nuget msbuild referenceassemblies-pcl lynx -y \
&& apt install curl unzip openjdk-8-jdk openjdk-8-jre-headless -y
RUN wget https://jenkins.mono-project.com/view/Xamarin.Android/job/xamarin-android-linux/816/Azure/processDownloadRequest/xamarin-android/xamarin.android-oss_8.3.99.19_amd64.deb
RUN dpkg -i xamarin.android-oss_8.3.99.19_amd64.deb
RUN rm xamarin.android-oss_8.3.99.19_amd64.deb
RUN apt install git make -y
RUN git clone https://github.com/xamarin/jar2xml
RUN cd jar2xml && make && cp jar2xml.jar /usr/lib/xamarin.android/xbuild/Xamarin/Android/jar2xml.jar && cd ..
RUN rm -rf jar2xml
ENV ANDROID_SDK_PATH=$ANDROID_HOME