From fb9683e9b9c1837efdd0a289af734f4567db5564 Mon Sep 17 00:00:00 2001 From: Allan Nava Date: Thu, 28 Nov 2024 15:00:00 +0100 Subject: [PATCH] changed with ENV --- Dockerfile.latest | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) 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 #