summaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2018-02-02 01:33:54 +0100
committercyBerta <cyberta@riseup.net>2018-02-02 01:33:54 +0100
commit11518f8ae6b0454ab4c3d017198ef026b9387b51 (patch)
tree89c06dcecc30a7e9e48842f47ddb01702bc652cf /docker
parentd84eb0a1b223a5e80ddf69ba8c4ed1ccc4caeaaa (diff)
update sdk in dockermirror_0xacab_master
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