adjust Dockerfile with WORKDIR
This commit is contained in:
parent
cf919843f9
commit
490d72bfc6
1 changed files with 1 additions and 3 deletions
|
@ -18,7 +18,6 @@ ENV PATH="$PATH:$BUILD_TOOLS_LATEST/bin"
|
||||||
ENV JAVA_HOME="/usr/lib/jvm/java-11-openjdk/"
|
ENV JAVA_HOME="/usr/lib/jvm/java-11-openjdk/"
|
||||||
#ENTRYPOINT bash -c 'sleep 10000'
|
#ENTRYPOINT bash -c 'sleep 10000'
|
||||||
ENV LIBRARY_PATH="$LIBRARY_PATH:$BUILD_TOOLS_LATEST/lib"
|
ENV LIBRARY_PATH="$LIBRARY_PATH:$BUILD_TOOLS_LATEST/lib"
|
||||||
RUN touch /file
|
|
||||||
ARG YESACCEPT=n
|
ARG YESACCEPT=n
|
||||||
RUN echo you selected to accept the licenses/TOS
|
RUN echo you selected to accept the licenses/TOS
|
||||||
RUN echo "$YESACCEPT" | sdkmanager --install "build-tools;33.0.2"
|
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
|
COPY entrypoint.sh /entrypoint.sh
|
||||||
RUN chown 0:0 /entrypoint.sh
|
RUN chown 0:0 /entrypoint.sh
|
||||||
RUN chmod 0700 /entrypoint.sh
|
RUN chmod 0700 /entrypoint.sh
|
||||||
RUN touch /file2
|
WORKDIR /apk
|
||||||
#
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue