mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-24 14:05:40 +03:00
c9c3aa95b0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
16 lines
781 B
Docker
16 lines
781 B
Docker
FROM ubuntu:noble@sha256:278628f08d4979fb9af9ead44277dbc9c92c2465922310916ad0c46ec9999295
|
|
|
|
ARG DEBIAN_FRONTEND=noninteractive
|
|
ENV ANDROID_HOME=/usr/lib/android-sdk
|
|
|
|
RUN apt-get update -y
|
|
RUN apt-get install -y unzip wget openjdk-17-jdk vim
|
|
|
|
RUN wget https://dl.google.com/android/repository/commandlinetools-linux-6858069_latest.zip -O /tmp/commandlinetools.zip
|
|
RUN cd /tmp && unzip commandlinetools.zip
|
|
RUN mkdir -p /usr/lib/android-sdk/cmdline-tools/
|
|
RUN cd /tmp/ && mv cmdline-tools/ latest/ && mv latest/ /usr/lib/android-sdk/cmdline-tools/
|
|
RUN mkdir /usr/lib/android-sdk/licenses/
|
|
RUN chmod -R 755 /usr/lib/android-sdk/
|
|
RUN mkdir -p $HOME/.gradle
|
|
RUN echo "org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError" > $HOME/.gradle/gradle.properties
|