forked from DrKLO/Telegram
-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #140 from nikitasius/noshit_9.3.3
restart telegraher release 9.33.14
- Loading branch information
Showing
2 changed files
with
44 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
FROM gradle:7.0.2-jdk11 | ||
|
||
ENV ANDROID_SDK_URL https://dl.google.com/android/repository/commandlinetools-linux-7302050_latest.zip | ||
ENV ANDROID_API_LEVEL android-33 | ||
ENV ANDROID_BUILD_TOOLS_VERSION 33.0.0 | ||
ENV ANDROID_HOME /usr/local/android-sdk-linux | ||
ENV ANDROID_NDK_VERSION 21.4.7075529 | ||
ENV ANDROID_VERSION 33 | ||
ENV ANDROID_NDK_HOME ${ANDROID_HOME}/ndk/${ANDROID_NDK_VERSION}/ | ||
ENV PATH ${PATH}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools | ||
|
||
RUN mkdir "$ANDROID_HOME" .android && \ | ||
cd "$ANDROID_HOME" && \ | ||
curl -o sdk.zip $ANDROID_SDK_URL && \ | ||
unzip sdk.zip && \ | ||
rm sdk.zip | ||
|
||
RUN yes | ${ANDROID_HOME}/cmdline-tools/bin/sdkmanager --sdk_root=$ANDROID_HOME --licenses | ||
RUN $ANDROID_HOME/cmdline-tools/bin/sdkmanager --sdk_root=$ANDROID_HOME --update | ||
RUN $ANDROID_HOME/cmdline-tools/bin/sdkmanager --sdk_root=$ANDROID_HOME "build-tools;30.0.3" \ | ||
"build-tools;${ANDROID_BUILD_TOOLS_VERSION}" \ | ||
"platforms;android-${ANDROID_VERSION}" \ | ||
"platform-tools" \ | ||
"ndk;$ANDROID_NDK_VERSION" | ||
RUN cp $ANDROID_HOME/build-tools/30.0.3/dx $ANDROID_HOME/build-tools/33.0.0/dx | ||
RUN cp $ANDROID_HOME/build-tools/30.0.3/lib/dx.jar $ANDROID_HOME/build-tools/33.0.0/lib/dx.jar | ||
ENV PATH ${ANDROID_NDK_HOME}:$PATH | ||
ENV PATH ${ANDROID_NDK_HOME}/prebuilt/linux-x86_64/bin/:$PATH | ||
|
||
CMD chmod +x /home/source/builditbitch.sh && /home/source/builditbitch.sh |