summaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
Diffstat (limited to 'docker')
-rw-r--r--docker/android-ndk/Dockerfile4
-rw-r--r--docker/android-sdk/Dockerfile10
2 files changed, 9 insertions, 5 deletions
diff --git a/docker/android-ndk/Dockerfile b/docker/android-ndk/Dockerfile
index 7739fa47..21b7dec0 100644
--- a/docker/android-ndk/Dockerfile
+++ b/docker/android-ndk/Dockerfile
@@ -33,3 +33,7 @@ RUN curl -L $ANDROID_NDK_URL -o ndk.zip \
&& rm -rf ndk.zip
ENV PATH ${PATH}:${ANDROID_NDK_HOME}
+
+# Accept all licenses
+RUN yes | sdkmanager --licenses
+RUN sdkmanager --list \ No newline at end of file
diff --git a/docker/android-sdk/Dockerfile b/docker/android-sdk/Dockerfile
index fbb63aa8..f57280c6 100644
--- a/docker/android-sdk/Dockerfile
+++ b/docker/android-sdk/Dockerfile
@@ -59,14 +59,14 @@ RUN echo y | sdkmanager "platform-tools" # echo y to accept google licenses
RUN sdkmanager "extras;android;m2repository"
# Install Build Tools (Please keep in descending order)
-RUN sdkmanager "build-tools;26.0.0"
+RUN sdkmanager "build-tools;27.0.3"
RUN sdkmanager "build-tools;25.0.2"
-RUN sdkmanager "build-tools;25.0.0"
-RUN sdkmanager "build-tools;24.0.3"
RUN sdkmanager "build-tools;23.0.3"
# Install Target SDK Packages (Please keep in descending order)
-RUN sdkmanager "platforms;android-26"
+RUN sdkmanager "platforms;android-27"
RUN sdkmanager "platforms;android-25"
-RUN sdkmanager "platforms;android-24"
RUN sdkmanager "platforms;android-23"
+
+# Accept all licenses
+RUN yes | sdkmanager --licenses \ No newline at end of file