From b0ec47567f06019b0a9f156e67c553bcfe179d32 Mon Sep 17 00:00:00 2001 From: zontreck Date: Sun, 7 Jul 2024 06:08:54 -0700 Subject: [PATCH] Add Android Studio to the path --- LinuxGeneralCompiler/Dockerfile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/LinuxGeneralCompiler/Dockerfile b/LinuxGeneralCompiler/Dockerfile index 59ef2ae..9a292a7 100644 --- a/LinuxGeneralCompiler/Dockerfile +++ b/LinuxGeneralCompiler/Dockerfile @@ -23,11 +23,15 @@ RUN curl -sO https://dl.google.com/android/repository/commandlinetools-linux-110 WORKDIR /adk RUN unzip /commandlinetools-linux-11076708_latest.zip -RUN echo "export PATH=$PATH:/flutter/bin:/adk/cmdline-tools/bin" > /flutter/env +RUN curl -sO https://redirector.gvt1.com/edgedl/android/studio/ide-zips/2024.1.1.11/android-studio-2024.1.1.11-linux.tar.gz + +RUN tar -xf android-studio-2024.1.1.11-linux.tar.gz + +RUN echo "export PATH=$PATH:/flutter/bin:/adk/cmdline-tools/bin:/adk/android-studio/bin" > /flutter/env WORKDIR / -RUN export PATH=$PATH:/flutter/bin:/adk/cmdline-tools/bin +RUN export PATH=$PATH:/flutter/bin:/adk/cmdline-tools/bin:/adk/android-studio/bin RUN apt install -y fonts-liberation libgtk-4-1 libgbm1 libu2f-udev libvulkan1 xdg-utils