File tree Expand file tree Collapse file tree 3 files changed +7
-17
lines changed Expand file tree Collapse file tree 3 files changed +7
-17
lines changed Original file line number Diff line number Diff line change 1- FROM ubuntu:16 .04
1+ FROM ubuntu:22 .04
22
3+ ARG DEBIAN_FRONTEND=noninteractive
34COPY scripts/android-base-apt-get.sh /scripts/
45RUN sh /scripts/android-base-apt-get.sh
56
@@ -13,7 +14,7 @@ RUN dpkg --add-architecture i386 && \
1314 libgl1-mesa-glx \
1415 libpulse0 \
1516 libstdc++6:i386 \
16- openjdk-9 -jre-headless \
17+ openjdk-8 -jre-headless \
1718 tzdata \
1819 wget \
1920 python3
@@ -29,20 +30,12 @@ ENV PATH=$PATH:/android/sdk/platform-tools
2930
3031ENV TARGETS=arm-linux-androideabi
3132
32- # We are intentionally allowing an old toolchain on this builder (and that's
33- # incompatible with LLVM downloads today).
34- ENV NO_DOWNLOAD_CI_LLVM 1
35-
36- ENV RUST_CONFIGURE_ARGS --arm-linux-androideabi-ndk=/android/ndk/arm-14 \
37- --set llvm.allow-old-toolchain
33+ ENV RUST_CONFIGURE_ARGS --arm-linux-androideabi-ndk=/android/ndk/arm-14
3834
3935ENV SCRIPT python3 ../x.py --stage 2 test --host='' --target $TARGETS
4036
4137COPY scripts/sccache.sh /scripts/
4238RUN sh /scripts/sccache.sh
4339
44- COPY scripts/cmake.sh /scripts/
45- RUN /scripts/cmake.sh
46-
4740COPY scripts/android-start-emulator.sh /scripts/
4841ENTRYPOINT ["/scripts/android-start-emulator.sh" ]
Original file line number Diff line number Diff line change 1- FROM ubuntu:16 .04
1+ FROM ubuntu:22 .04
22
33COPY scripts/android-base-apt-get.sh /scripts/
44RUN sh /scripts/android-base-apt-get.sh
@@ -32,13 +32,9 @@ ENV RUST_CONFIGURE_ARGS \
3232 --i686-linux-android-ndk=/android/ndk/x86-14 \
3333 --aarch64-linux-android-ndk=/android/ndk/arm64-21 \
3434 --x86_64-linux-android-ndk=/android/ndk/x86_64-21 \
35- --disable-docs \
36- --set llvm.allow-old-toolchain
35+ --disable-docs
3736
3837ENV SCRIPT python3 ../x.py dist --host='' --target $TARGETS
3938
4039COPY scripts/sccache.sh /scripts/
4140RUN sh /scripts/sccache.sh
42-
43- COPY scripts/cmake.sh /scripts/
44- RUN /scripts/cmake.sh
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ apt-get install -y --no-install-recommends \
1010 g++ \
1111 git \
1212 libssl-dev \
13+ libncurses5 \
1314 make \
1415 ninja-build \
1516 pkg-config \
You can’t perform that action at this time.
0 commit comments