Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
lmdanishirfan committed May 10, 2024
1 parent 8386e69 commit 59f20c6
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,12 @@ ENV JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64
ENV PATH="$PATH:$ANDROID_SDK_ROOT/cmdline-tools/latest/bin:$ANDROID_SDK_ROOT/platform-tools:$ANDROID_SDK_ROOT/tools/bin"

# Install Android SDK
RUN mkdir -p $ANDROID_SDK_ROOT/cmdline-tools/latest && \
cd $ANDROID_SDK_ROOT/cmdline-tools/latest && \
curl -o sdk-tools-linux.zip "https://dl.google.com/android/repository/commandlinetools-linux-${ANDROID_SDK_TOOLS_VERSION}_latest.zip" && \
unzip sdk-tools-linux.zip && \
rm sdk-tools-linux.zip
RUN mkdir -p $ANDROID_SDK_ROOT/cmdline-tools/latest
RUN cd $ANDROID_SDK_ROOT/cmdline-tools/latest
RUN curl -o sdk-tools-linux.zip "https://dl.google.com/android/repository/commandlinetools-linux-${ANDROID_SDK_TOOLS_VERSION}_latest.zip"
RUN unzip sdk-tools-linux.zip
RUN ls -l
RUN rm sdk-tools-linux.zip


# Print the contents of the bin directory
Expand Down

0 comments on commit 59f20c6

Please sign in to comment.