File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,8 @@ before_install:
1818 - docker run -it -d --user build --name dispatch-container -v `pwd`:/home/build/app -e TRAVIS_TAG=$TRAVIS_TAG android-dispatch bash
1919
2020script :
21+ - docker exec --user build dispatch-container sh ls -al /home/build/app
22+ - docker exec --user build dispatch-container sh whoami
2123 - docker exec --user build dispatch-container sh /home/build/app/dispatch.sh
2224 - docker exec --user build dispatch-container sh /home/build/app/package.sh
2325
Original file line number Diff line number Diff line change 11FROM ubuntu:bionic-20180224
22
3+ # SDK TOOLS 26.1.1
34ENV ANDROID_SDK_HOME="/opt/android-sdk" \
4- # SDK TOOLS 26.1.1
55 ANDROID_SDK_TOOLS_VERSION="4333796" \
66 DEBIAN_FRONTEND="noninteractive"
77
@@ -12,6 +12,7 @@ ENV PATH="$PATH:$ANDROID_SDK_HOME/tools:$ANDROID_SDK_HOME/tools/bin:$ANDROID_SDK
1212 ANDROID_SDK_ROOT="$ANDROID_SDK_HOME"
1313
1414# Base
15+ # add java before maven to prevent downloading java 9
1516RUN apt-get update \
1617 && apt-get install -yq \
1718 build-essential \
@@ -27,18 +28,16 @@ RUN apt-get update \
2728 systemtap-sdt-dev \
2829 libbsd-dev \
2930 linux-libc-dev \
30- # add java before maven to prevent downloading java 9
3131 openjdk-8-jre-headless \
3232 maven \
3333 && apt-get clean
3434
3535# Android SDK
3636RUN echo "************ Installing Android SDK Tools ************" \
37- && wget --output-document=sdk-tools.zip \
37+ && wget --output-document=sdk-tools.zip -q \
3838 "https://dl.google.com/android/repository/sdk-tools-linux-$ANDROID_SDK_TOOLS_VERSION.zip" \
3939 && mkdir -p "$ANDROID_SDK_HOME" \
4040 && unzip -q sdk-tools.zip -d "$ANDROID_SDK_HOME" \
41- # Cleanup
4241 && rm -f sdk-tools.zip
4342
4443# The `yes` is for accepting all non-standard tool licenses.
@@ -62,7 +61,6 @@ RUN echo "************ Installing Android NDK 17c ************" \
6261 && mkdir -p $ANDROID_NDK_HOME \
6362 && unzip -q $HOME/ndk.zip -d $ANDROID_NDK_HOME \
6463 && mv $ANDROID_NDK_HOME/android-ndk-r17c/* $ANDROID_NDK_HOME \
65- # Cleanup
6664 && rm -f $HOME/ndk.zip && rm -d $ANDROID_NDK_HOME/android-ndk-r17c
6765
6866RUN useradd build -m -u 112
You can’t perform that action at this time.
0 commit comments