adjust Dockerfile with WORKDIR

This commit is contained in:
Alexander Mahr 2024-09-06 08:10:40 +02:00
parent cf919843f9
commit 490d72bfc6

View file

@ -18,7 +18,6 @@ ENV PATH="$PATH:$BUILD_TOOLS_LATEST/bin"
ENV JAVA_HOME="/usr/lib/jvm/java-11-openjdk/"
#ENTRYPOINT bash -c 'sleep 10000'
ENV LIBRARY_PATH="$LIBRARY_PATH:$BUILD_TOOLS_LATEST/lib"
RUN touch /file
ARG YESACCEPT=n
RUN echo you selected to accept the licenses/TOS
RUN echo "$YESACCEPT" | sdkmanager --install "build-tools;33.0.2"
@ -27,5 +26,4 @@ RUN echo "$YESACCEPT" | sdkmanager --install "platforms;android-33"
COPY entrypoint.sh /entrypoint.sh
RUN chown 0:0 /entrypoint.sh
RUN chmod 0700 /entrypoint.sh
RUN touch /file2
#
WORKDIR /apk