ANDROID SDK

This commit is contained in:
STAM 2023-07-05 12:06:57 +03:00
parent 693e695da4
commit dbe0acb996
Signed by: stam
GPG Key ID: 4F57E51F9C45F8CD
4 changed files with 28 additions and 28 deletions

View File

@ -12,9 +12,9 @@ ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION}
ENV GRADLE_BIN=$GRADLE_PATH/bin ENV GRADLE_BIN=$GRADLE_PATH/bin
ARG GRADLE_TEMP=/tmp/gradle.zip ARG GRADLE_TEMP=/tmp/gradle.zip
ENV KTC_VERSION=1.8.22 ENV KTC_VERSION=1.9.0-RC
ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip
ARG KTC_TEMP=/tmp/kotlinc.tgz ARG KTC_TEMP=/tmp/kotlinc.zip
ENV KTC_ROOT=/opt/kotlin ENV KTC_ROOT=/opt/kotlin
ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_PATH=${KTC_ROOT}/kotlinc
ENV KTC_BIN=$KTC_PATH/bin ENV KTC_BIN=$KTC_PATH/bin
@ -301,8 +301,8 @@ RUN sdkmanager --install \
# "platforms;android-8" \ # "platforms;android-8" \
# "platforms;android-9" # "platforms;android-9"
RUN sdkmanager --install \ #RUN sdkmanager --install \
"ndk-bundle;25.2.9519653" # "ndk-bundle;25.2.9519653"
# "ndk-bundle;11.0.2655954" \ # "ndk-bundle;11.0.2655954" \
# "ndk-bundle;11.1.2683735" \ # "ndk-bundle;11.1.2683735" \
# "ndk-bundle;11.2.2725575" \ # "ndk-bundle;11.2.2725575" \
@ -422,8 +422,8 @@ RUN sdkmanager --install \
# "ndk-bundle;r25b" \ # "ndk-bundle;r25b" \
# "ndk-bundle;r25c" # "ndk-bundle;r25c"
RUN sdkmanager --install \ #RUN sdkmanager --install \
"ndk;25.2.9519653" # "ndk;25.2.9519653"
# "ndk;11.0.2655954" \ # "ndk;11.0.2655954" \
# "ndk;11.1.2683735" \ # "ndk;11.1.2683735" \
# "ndk;11.2.2725575" \ # "ndk;11.2.2725575" \
@ -594,7 +594,7 @@ RUN sdkmanager --install \
# Activate android sdk # Activate android sdk
#RUN echo "24333f8a63b6825ea9c5514f83c2829b004d1fee" > /usr/lib/android-sdk/licenses/android-sdk-license #RUN echo "24333f8a63b6825ea9c5514f83c2829b004d1fee" > /usr/lib/android-sdk/licenses/android-sdk-license
RUN rm -rfv /usr/lib/android-sdk/licenses/* #RUN rm -rfv /usr/lib/android-sdk/licenses/*
RUN yes | sdkmanager --licenses RUN yes | sdkmanager --licenses
RUN ln -fs $ANDROID_SDK_ROOT/cmdline-tools/latest/bin/screenshot2 $ANDROID_SDK_ROOT/tools/bin/screenshot2 RUN ln -fs $ANDROID_SDK_ROOT/cmdline-tools/latest/bin/screenshot2 $ANDROID_SDK_ROOT/tools/bin/screenshot2

View File

@ -12,9 +12,9 @@ ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION}
ENV GRADLE_BIN=$GRADLE_PATH/bin ENV GRADLE_BIN=$GRADLE_PATH/bin
ARG GRADLE_TEMP=/tmp/gradle.zip ARG GRADLE_TEMP=/tmp/gradle.zip
ENV KTC_VERSION=1.8.22 ENV KTC_VERSION=1.9.0-RC
ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip
ARG KTC_TEMP=/tmp/kotlinc.tgz ARG KTC_TEMP=/tmp/kotlinc.zip
ENV KTC_ROOT=/opt/kotlin ENV KTC_ROOT=/opt/kotlin
ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_PATH=${KTC_ROOT}/kotlinc
ENV KTC_BIN=$KTC_PATH/bin ENV KTC_BIN=$KTC_PATH/bin
@ -301,8 +301,8 @@ RUN sdkmanager --install \
# "platforms;android-8" \ # "platforms;android-8" \
# "platforms;android-9" # "platforms;android-9"
RUN sdkmanager --install \ #RUN sdkmanager --install \
"ndk-bundle;25.2.9519653" # "ndk-bundle;25.2.9519653"
# "ndk-bundle;11.0.2655954" \ # "ndk-bundle;11.0.2655954" \
# "ndk-bundle;11.1.2683735" \ # "ndk-bundle;11.1.2683735" \
# "ndk-bundle;11.2.2725575" \ # "ndk-bundle;11.2.2725575" \
@ -422,8 +422,8 @@ RUN sdkmanager --install \
# "ndk-bundle;r25b" \ # "ndk-bundle;r25b" \
# "ndk-bundle;r25c" # "ndk-bundle;r25c"
RUN sdkmanager --install \ #RUN sdkmanager --install \
"ndk;25.2.9519653" # "ndk;25.2.9519653"
# "ndk;11.0.2655954" \ # "ndk;11.0.2655954" \
# "ndk;11.1.2683735" \ # "ndk;11.1.2683735" \
# "ndk;11.2.2725575" \ # "ndk;11.2.2725575" \
@ -594,7 +594,7 @@ RUN sdkmanager --install \
# Activate android sdk # Activate android sdk
#RUN echo "24333f8a63b6825ea9c5514f83c2829b004d1fee" > /usr/lib/android-sdk/licenses/android-sdk-license #RUN echo "24333f8a63b6825ea9c5514f83c2829b004d1fee" > /usr/lib/android-sdk/licenses/android-sdk-license
RUN rm -rfv /usr/lib/android-sdk/licenses/* #RUN rm -rfv /usr/lib/android-sdk/licenses/*
RUN yes | sdkmanager --licenses RUN yes | sdkmanager --licenses
RUN ln -fs $ANDROID_SDK_ROOT/cmdline-tools/latest/bin/screenshot2 $ANDROID_SDK_ROOT/tools/bin/screenshot2 RUN ln -fs $ANDROID_SDK_ROOT/cmdline-tools/latest/bin/screenshot2 $ANDROID_SDK_ROOT/tools/bin/screenshot2

View File

@ -12,9 +12,9 @@ ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION}
ENV GRADLE_BIN=$GRADLE_PATH/bin ENV GRADLE_BIN=$GRADLE_PATH/bin
ARG GRADLE_TEMP=/tmp/gradle.zip ARG GRADLE_TEMP=/tmp/gradle.zip
ENV KTC_VERSION=1.8.22 ENV KTC_VERSION=1.9.0-RC
ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip
ARG KTC_TEMP=/tmp/kotlinc.tgz ARG KTC_TEMP=/tmp/kotlinc.zip
ENV KTC_ROOT=/opt/kotlin ENV KTC_ROOT=/opt/kotlin
ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_PATH=${KTC_ROOT}/kotlinc
ENV KTC_BIN=$KTC_PATH/bin ENV KTC_BIN=$KTC_PATH/bin
@ -288,8 +288,8 @@ RUN sdkmanager --install \
# "platforms;android-8" \ # "platforms;android-8" \
# "platforms;android-9" # "platforms;android-9"
RUN sdkmanager --install \ #RUN sdkmanager --install \
"ndk-bundle;25.2.9519653" # "ndk-bundle;25.2.9519653"
# "ndk-bundle;11.0.2655954" \ # "ndk-bundle;11.0.2655954" \
# "ndk-bundle;11.1.2683735" \ # "ndk-bundle;11.1.2683735" \
# "ndk-bundle;11.2.2725575" \ # "ndk-bundle;11.2.2725575" \
@ -409,8 +409,8 @@ RUN sdkmanager --install \
# "ndk-bundle;r25b" \ # "ndk-bundle;r25b" \
# "ndk-bundle;r25c" # "ndk-bundle;r25c"
RUN sdkmanager --install \ #RUN sdkmanager --install \
"ndk;25.2.9519653" # "ndk;25.2.9519653"
# "ndk;11.0.2655954" \ # "ndk;11.0.2655954" \
# "ndk;11.1.2683735" \ # "ndk;11.1.2683735" \
# "ndk;11.2.2725575" \ # "ndk;11.2.2725575" \
@ -581,7 +581,7 @@ RUN sdkmanager --install \
# Activate android sdk # Activate android sdk
#RUN echo "24333f8a63b6825ea9c5514f83c2829b004d1fee" > /usr/lib/android-sdk/licenses/android-sdk-license #RUN echo "24333f8a63b6825ea9c5514f83c2829b004d1fee" > /usr/lib/android-sdk/licenses/android-sdk-license
RUN rm -rfv /usr/lib/android-sdk/licenses/* #RUN rm -rfv /usr/lib/android-sdk/licenses/*
RUN yes | sdkmanager --licenses RUN yes | sdkmanager --licenses
RUN ln -fs $ANDROID_SDK_ROOT/cmdline-tools/latest/bin/screenshot2 $ANDROID_SDK_ROOT/tools/bin/screenshot2 RUN ln -fs $ANDROID_SDK_ROOT/cmdline-tools/latest/bin/screenshot2 $ANDROID_SDK_ROOT/tools/bin/screenshot2

View File

@ -12,9 +12,9 @@ ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION}
ENV GRADLE_BIN=$GRADLE_PATH/bin ENV GRADLE_BIN=$GRADLE_PATH/bin
ARG GRADLE_TEMP=/tmp/gradle.zip ARG GRADLE_TEMP=/tmp/gradle.zip
ENV KTC_VERSION=1.8.22 ENV KTC_VERSION=1.9.0-RC
ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip
ARG KTC_TEMP=/tmp/kotlinc.tgz ARG KTC_TEMP=/tmp/kotlinc.zip
ENV KTC_ROOT=/opt/kotlin ENV KTC_ROOT=/opt/kotlin
ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_PATH=${KTC_ROOT}/kotlinc
ENV KTC_BIN=$KTC_PATH/bin ENV KTC_BIN=$KTC_PATH/bin
@ -288,8 +288,8 @@ RUN sdkmanager --install \
# "platforms;android-8" \ # "platforms;android-8" \
# "platforms;android-9" # "platforms;android-9"
RUN sdkmanager --install \ #RUN sdkmanager --install \
"ndk-bundle;25.2.9519653" # "ndk-bundle;25.2.9519653"
# "ndk-bundle;11.0.2655954" \ # "ndk-bundle;11.0.2655954" \
# "ndk-bundle;11.1.2683735" \ # "ndk-bundle;11.1.2683735" \
# "ndk-bundle;11.2.2725575" \ # "ndk-bundle;11.2.2725575" \
@ -409,8 +409,8 @@ RUN sdkmanager --install \
# "ndk-bundle;r25b" \ # "ndk-bundle;r25b" \
# "ndk-bundle;r25c" # "ndk-bundle;r25c"
RUN sdkmanager --install \ #RUN sdkmanager --install \
"ndk;25.2.9519653" # "ndk;25.2.9519653"
# "ndk;11.0.2655954" \ # "ndk;11.0.2655954" \
# "ndk;11.1.2683735" \ # "ndk;11.1.2683735" \
# "ndk;11.2.2725575" \ # "ndk;11.2.2725575" \
@ -581,7 +581,7 @@ RUN sdkmanager --install \
# Activate android sdk # Activate android sdk
#RUN echo "24333f8a63b6825ea9c5514f83c2829b004d1fee" > /usr/lib/android-sdk/licenses/android-sdk-license #RUN echo "24333f8a63b6825ea9c5514f83c2829b004d1fee" > /usr/lib/android-sdk/licenses/android-sdk-license
RUN rm -rfv /usr/lib/android-sdk/licenses/* #RUN rm -rfv /usr/lib/android-sdk/licenses/*
RUN yes | sdkmanager --licenses RUN yes | sdkmanager --licenses
RUN ln -fs $ANDROID_SDK_ROOT/cmdline-tools/latest/bin/screenshot2 $ANDROID_SDK_ROOT/tools/bin/screenshot2 RUN ln -fs $ANDROID_SDK_ROOT/cmdline-tools/latest/bin/screenshot2 $ANDROID_SDK_ROOT/tools/bin/screenshot2