1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-26 06:11:19 +00:00

Update Dockerfile (#218)

Update Dockerfile
This commit is contained in:
Catfriend1 2019-01-12 18:36:35 +01:00 committed by GitHub
parent 2ecba33052
commit 4dc26dbc7c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,6 @@
FROM openjdk:8
ENV GO_VERSION 1.9.5
ENV GO_VERSION 1.9.7
ENV ANDROID_SDK_VERSION 3859397
WORKDIR /opt
@ -23,7 +23,7 @@ ENV ANDROID_HOME /opt/android-sdk
RUN yes | ${ANDROID_HOME}/tools/bin/sdkmanager --licenses
# Install other android packages, including NDK
RUN ${ANDROID_HOME}/tools/bin/sdkmanager tools platform-tools "build-tools;27.0.2" "platforms;android-27" "extras;android;m2repository" ndk-bundle
RUN ${ANDROID_HOME}/tools/bin/sdkmanager tools platform-tools "build-tools;28.0.3" "platforms;android-28" "extras;android;m2repository" ndk-bundle
# Accept licenses of newly installed packages
RUN yes | ${ANDROID_HOME}/tools/bin/sdkmanager --licenses