Skip to content

Commit 00b7c5b

Browse files
Update Dockerfile
1 parent de91eff commit 00b7c5b

1 file changed

Lines changed: 7 additions & 11 deletions

File tree

‎android_sdk/Dockerfile‎

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -30,20 +30,20 @@ RUN apt-get clean && \
3030

3131
# Download Gradle
3232
RUN mkdir /opt/gradle && \
33-
curl -sLo gradle.zip https://services.gradle.org/distributions/gradle-9.0.0-all.zip && \
33+
curl -sLo gradle.zip https://services.gradle.org/distributions/gradle-9.3.0-all.zip && \
3434
unzip -d /opt/gradle gradle.zip 1> /dev/null && \
3535
rm gradle.zip
3636

3737
# Download Kotlin
38-
ARG KOTLIN_VERSION=2.2.0
38+
ARG KOTLIN_VERSION=2.3.0
3939
RUN cd /opt && \
4040
curl -sLo kotlin.zip https://github.com/JetBrains/kotlin/releases/download/v${KOTLIN_VERSION}/kotlin-compiler-${KOTLIN_VERSION}.zip && \
4141
unzip kotlin.zip && \
4242
rm kotlin.zip
4343

4444
# Environment Variables
4545
ENV ANDROID_HOME=/opt/android-sdk
46-
ENV GRADLE_HOME=/opt/gradle/gradle-9.0.0
46+
ENV GRADLE_HOME=/opt/gradle/gradle-9.3.0
4747
ENV KOTLIN_HOME=/opt/kotlinc
4848
ENV PATH=${PATH}:${ANDROID_HOME}/cmdline-tools/latest/bin:${ANDROID_HOME}/platform-tools:${GRADLE_HOME}/bin:${KOTLIN_HOME}/bin
4949

@@ -59,19 +59,15 @@ RUN mkdir -p /opt/android-sdk/cmdline-tools && \
5959
RUN yes | sdkmanager --licenses 1> /dev/null && \
6060
yes | sdkmanager --update && \
6161
yes | sdkmanager "platform-tools" \
62-
"platforms;android-33" \
63-
"platforms;android-34" \
64-
"build-tools;33.0.3" \
65-
"build-tools;34.0.0" 1> /dev/null
62+
"platforms;android-35" \
63+
"platforms;android-36" \
64+
"build-tools;35.0.0" \
65+
"build-tools;36.0.0"
6666

6767
# Version Check
6868
RUN java --version && \
6969
kotlin -version && \
7070
gradle --version && \
7171
echo "SDK Manager Version: $(sdkmanager --version)"
7272

73-
# Git Identity Setup
74-
RUN curl -sLO https://raw.githubusercontent.com/crazyuploader/Bash/master/git_identity.sh && \
75-
printf "\nalias setgit=\"bash /git_identity.sh\"" >> ~/.bashrc
76-
7773
CMD ["bash"]

0 commit comments

Comments
 (0)