From fab03b1a7b0061d637019b6f7e4a4791d7aad8d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Behmo?= Date: Sat, 19 Jan 2019 19:26:08 +0100 Subject: [PATCH] Fix android image building For some reason, the license was not accepted anymore. Fixed by following the recommended solution in: https://github.com/travis-ci/travis-ci/issues/8874 --- build/android/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/android/Dockerfile b/build/android/Dockerfile index b301fec..e6e03ee 100644 --- a/build/android/Dockerfile +++ b/build/android/Dockerfile @@ -8,7 +8,7 @@ RUN mkdir /openedx # Install Android SDK # Inspired from https://github.com/LiveXP/docker-android-sdk/blob/master/Dockerfile -ENV ANDROID_SDK_VERSION 3859397 +ENV ANDROID_SDK_VERSION 4333796 ENV ANDROID_SDK_PATH /openedx/android-sdk ENV ANDROID_HOME /openedx/android-sdk RUN mkdir /openedx/android-sdk @@ -18,7 +18,7 @@ RUN wget https://dl.google.com/android/repository/sdk-tools-linux-${ANDROID_SDK_ rm sdk-tools-linux-${ANDROID_SDK_VERSION}.zip # Accept licenses -RUN yes | /openedx/android-sdk/tools/bin/sdkmanager --licenses +RUN yes | /openedx/android-sdk/tools/bin/sdkmanager "platforms;android-27" # Install android app repo RUN git clone https://github.com/edx/edx-app-android /openedx/edx-app-android