mirror of
https://github.com/ChristianLight/tutor.git
synced 2025-01-08 16:14:08 +00:00
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
This commit is contained in:
parent
61e3064c12
commit
fab03b1a7b
@ -8,7 +8,7 @@ RUN mkdir /openedx
|
|||||||
|
|
||||||
# Install Android SDK
|
# Install Android SDK
|
||||||
# Inspired from https://github.com/LiveXP/docker-android-sdk/blob/master/Dockerfile
|
# 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_SDK_PATH /openedx/android-sdk
|
||||||
ENV ANDROID_HOME /openedx/android-sdk
|
ENV ANDROID_HOME /openedx/android-sdk
|
||||||
RUN mkdir /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
|
rm sdk-tools-linux-${ANDROID_SDK_VERSION}.zip
|
||||||
|
|
||||||
# Accept licenses
|
# 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
|
# Install android app repo
|
||||||
RUN git clone https://github.com/edx/edx-app-android /openedx/edx-app-android
|
RUN git clone https://github.com/edx/edx-app-android /openedx/edx-app-android
|
||||||
|
Loading…
Reference in New Issue
Block a user