File tree 3 files changed +7
-10
lines changed
3 files changed +7
-10
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ RUN sh /android/android-install-sdk.sh $ANDROID_ARCH
26
26
RUN mv /root/.android /tmp
27
27
RUN chmod 777 -R /tmp/.android
28
28
RUN chmod 755 /android/sdk/cmdline-tools/tools/* /android/sdk/emulator/qemu/linux-x86_64/*
29
- RUN ls -a /android/sdk/platform-tools
30
29
31
30
ENV PATH=$PATH:/rust/bin \
32
31
CARGO_TARGET_AARCH64_LINUX_ANDROID_LINKER=aarch64-linux-android28-clang \
Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ RUN sh /android/android-install-sdk.sh $ANDROID_ARCH
26
26
RUN mv /root/.android /tmp
27
27
RUN chmod 777 -R /tmp/.android
28
28
RUN chmod 755 /android/sdk/cmdline-tools/tools/* /android/sdk/emulator/qemu/linux-x86_64/*
29
- RUN ls -a /android/sdk/platform-tools
30
29
31
30
ENV PATH=$PATH:/rust/bin \
32
31
CARGO_TARGET_ARM_LINUX_ANDROIDEABI_LINKER=arm-linux-androideabi-gcc \
Original file line number Diff line number Diff line change 1
1
FROM ubuntu:20.04
2
2
3
- RUN dpkg --add-architecture i386 && \
4
- apt-get update && \
5
- apt-get install -y --no-install-recommends \
3
+ RUN dpkg --add-architecture i386
4
+ RUN apt-get update
5
+ RUN apt-get install -y --no-install-recommends libc6-dev gcc
6
+ RUN apt-get install -y --no-install-recommends \
6
7
file \
7
- curl \
8
+ wget \
8
9
ca-certificates \
9
10
python3 \
10
11
python3-distutils \
11
12
unzip \
12
13
expect \
13
14
openjdk-8-jre \
14
15
libstdc++6:i386 \
15
- libpulse0 \
16
- gcc \
17
- libc6-dev
16
+ libpulse0
18
17
19
18
WORKDIR /android/
20
19
COPY android* /android/
21
20
22
21
ENV ANDROID_ARCH=i686
23
- ENV PATH=$PATH:/android/ndk-$ANDROID_ARCH/bin:/android/sdk/cmdline-tools/tools:/android/sdk/cmdline-tools/ platform-tools
22
+ ENV PATH=$PATH:/android/ndk-$ANDROID_ARCH/bin:/android/sdk/cmdline-tools/tools:/android/sdk/platform-tools
24
23
25
24
RUN sh /android/android-install-ndk.sh $ANDROID_ARCH
26
25
RUN sh /android/android-install-sdk.sh $ANDROID_ARCH
You can’t perform that action at this time.
0 commit comments