Skip to content

Commit

Permalink
Use SDK 26 (Oreo, 8.0)
Browse files Browse the repository at this point in the history
  • Loading branch information
nathansamson authored Feb 21, 2018
1 parent 9e9421f commit 5684924
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM fedora:27
RUN dnf install gnupg wget dnf-plugins-core -y \
&& rpm --import "http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF" \
&& dnf config-manager --add-repo http://download.mono-project.com/repo/centos7/ \
&& dnf install libzip bzip2 bzip2-libs mono-devel nuget msbuild referenceassemblies-pcl -y \
&& dnf install libzip bzip2 bzip2-libs mono-devel nuget msbuild referenceassemblies-pcl lynx -y \
&& dnf clean all

RUN dnf install curl unzip java-1.8.0-openjdk-headless java-1.8.0-openjdk-devel -y && \
Expand All @@ -16,9 +16,8 @@ RUN mkdir -p /android/sdk && \

RUN cd /android/sdk && \
yes | ./tools/bin/sdkmanager --licenses && \
./tools/bin/sdkmanager 'build-tools;23.0.3' platform-tools 'platforms;android-23' 'ndk-bundle'
./tools/bin/sdkmanager 'build-tools;26.0.2' platform-tools 'platforms;android-26' 'ndk-bundle'

RUN dnf install lynx -y
RUN lynx -listonly -dump https://jenkins.mono-project.com/view/Xamarin.Android/job/xamarin-android-linux/lastSuccessfulBuild/Azure/ | grep -o "https://.*/Azure/processDownloadRequest/xamarin-android/oss-xamarin.android_v.*" > link.txt
RUN curl -L $(cat link.txt) \
-o xamarin.tar.bz2
Expand Down

0 comments on commit 5684924

Please sign in to comment.