Skip to content
Snippets Groups Projects
Verified Commit 4614454f authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

Use JDK8 for android tools installation, JDK11 for build

parent 8cd77ff8
No related branches found
No related tags found
No related merge requests found
FROM openjdk:8-jdk
FROM openjdk:8-jdk as builder
# define arguments for versions to be used for platform and build tools
ARG PLATFORM
......@@ -18,3 +18,9 @@ RUN android-sdk-linux/tools/bin/sdkmanager \
"build-tools;${BUILD_TOOLS}" \
"extras;google;m2repository" \
"extras;android;m2repository"
FROM openjdk:11-jdk
COPY --from=builder /android-sdk-linux /android-sdk-linux
ENV ANDROID_HOME=/android-sdk-linux
ENV PATH=$PATH:/android-sdk-linux/platform-tools/
ENV GRADLE_OPTS="-Dorg.gradle.daemon=False"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment