Skip to content

Commit

Permalink
Fix path env because commandline tools folder name changed
Browse files Browse the repository at this point in the history
  • Loading branch information
hoang-rio committed Jan 5, 2024
1 parent 300ef72 commit e590e60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ RUN mkdir -p /opt/android-sdk-linux && mkdir -p ~/.android && touch ~/.android/r
WORKDIR /opt

ENV ANDROID_HOME /opt/android-sdk-linux
ENV PATH ${PATH}:${ANDROID_HOME}/tools/bin:${ANDROID_HOME}/platform-tools:${PATH}:${ANDROID_HOME}/tools
ENV PATH ${PATH}:${ANDROID_HOME}/tools/bin:${ANDROID_HOME}/platform-tools:${PATH}:${ANDROID_HOME}/cmdline-tools
ENV ANDROID_NDK /opt/android-ndk-linux
ENV ANDROID_NDK_HOME /opt/android-ndk-linux

Expand All @@ -19,7 +19,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
git
RUN git clone https://github.com/StackExchange/blackbox \
&& cd blackbox \
&& make manual-install
&& make symlinks-install
RUN cd /opt/android-sdk-linux && \
wget -q --output-document=sdk-tools.zip https://dl.google.com/android/repository/commandlinetools-linux-10406996_latest.zip && \
unzip sdk-tools.zip && \
Expand Down

0 comments on commit e590e60

Please sign in to comment.