diff --git a/Dockerfile.latest b/Dockerfile.latest index e6fe588..b641695 100644 --- a/Dockerfile.latest +++ b/Dockerfile.latest @@ -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 #