Skip to content

Commit

Permalink
changed with ENV
Browse files Browse the repository at this point in the history
  • Loading branch information
Allan-Nava authored Nov 28, 2024
1 parent 13be757 commit fb9683e
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions Dockerfile.latest
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,14 @@ RUN mv ~/Android/Sdk/cmdline-tools/cmdline-tools ~/Android/Sdk/cmdline-tools/lat
#RUN export PATH=$PATH:$ANDROID_SDK_ROOT/platform-tools
#
RUN echo $PATH
#ENV PATH=$PATH:$ANDROID_SDK_ROOT/cmdline-tools/latest/bin
#ENV PATH=$PATH:$ANDROID_SDK_ROOT/platform-tools
ENV ANDROID_SDK_ROOT=/root/Android/Sdk
ENV PATH=$PATH:$ANDROID_SDK_ROOT/cmdline-tools/latest/bin
ENV PATH=$PATH:$ANDROID_SDK_ROOT/platform-tools
#RUN echo "export ANDROID_SDK_ROOT=/root/Android/Sdk" >> ~/.bashrc
#
RUN echo "export ANDROID_SDK_ROOT=/root/Android/Sdk" >> ~/.bashrc
RUN echo "export PATH=${PATH}:/root/Android/Sdk/cmdline-tools/latest/bin" >> ~/.bashrc
RUN echo "export PATH=${PATH}:/root/Android/Sdk/platform-tools" >> ~/.bashrc
#RUN echo "export ANDROID_SDK_ROOT=/root/Android/Sdk" >> ~/.bashrc
#RUN echo "export PATH=${PATH}:/root/Android/Sdk/cmdline-tools/latest/bin" >> ~/.bashrc
#RUN echo "export PATH=${PATH}:/root/Android/Sdk/platform-tools" >> ~/.bashrc
RUN cat ~/.bashrc
RUN source /root/.bashrc
#
Expand Down

0 comments on commit fb9683e

Please sign in to comment.