File tree 3 files changed +7
-17
lines changed
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
2
2
3
+ ARG DEBIAN_FRONTEND=noninteractive
3
4
COPY scripts/android-base-apt-get.sh /scripts/
4
5
RUN sh /scripts/android-base-apt-get.sh
5
6
@@ -13,7 +14,7 @@ RUN dpkg --add-architecture i386 && \
13
14
libgl1-mesa-glx \
14
15
libpulse0 \
15
16
libstdc++6:i386 \
16
- openjdk-9 -jre-headless \
17
+ openjdk-8 -jre-headless \
17
18
tzdata \
18
19
wget \
19
20
python3
@@ -29,20 +30,12 @@ ENV PATH=$PATH:/android/sdk/platform-tools
29
30
30
31
ENV TARGETS=arm-linux-androideabi
31
32
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
38
34
39
35
ENV SCRIPT python3 ../x.py --stage 2 test --host='' --target $TARGETS
40
36
41
37
COPY scripts/sccache.sh /scripts/
42
38
RUN sh /scripts/sccache.sh
43
39
44
- COPY scripts/cmake.sh /scripts/
45
- RUN /scripts/cmake.sh
46
-
47
40
COPY scripts/android-start-emulator.sh /scripts/
48
41
ENTRYPOINT ["/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
2
2
3
3
COPY scripts/android-base-apt-get.sh /scripts/
4
4
RUN sh /scripts/android-base-apt-get.sh
@@ -32,13 +32,9 @@ ENV RUST_CONFIGURE_ARGS \
32
32
--i686-linux-android-ndk=/android/ndk/x86-14 \
33
33
--aarch64-linux-android-ndk=/android/ndk/arm64-21 \
34
34
--x86_64-linux-android-ndk=/android/ndk/x86_64-21 \
35
- --disable-docs \
36
- --set llvm.allow-old-toolchain
35
+ --disable-docs
37
36
38
37
ENV SCRIPT python3 ../x.py dist --host='' --target $TARGETS
39
38
40
39
COPY scripts/sccache.sh /scripts/
41
40
RUN 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 \
10
10
g++ \
11
11
git \
12
12
libssl-dev \
13
+ libncurses5 \
13
14
make \
14
15
ninja-build \
15
16
pkg-config \
You can’t perform that action at this time.
0 commit comments