12add0d91Sopenharmony_ciFROM ubuntu:22.04 22add0d91Sopenharmony_ci 32add0d91Sopenharmony_ciRUN apt-get update && apt-get install -y --no-install-recommends \ 42add0d91Sopenharmony_ci gcc make libc6-dev git curl ca-certificates \ 52add0d91Sopenharmony_ci gcc-arm-linux-gnueabihf qemu-user 62add0d91Sopenharmony_ci 72add0d91Sopenharmony_ciCOPY install-musl.sh / 82add0d91Sopenharmony_ciRUN sh /install-musl.sh arm 92add0d91Sopenharmony_ci 102add0d91Sopenharmony_ciENV PATH=$PATH:/musl-arm/bin:/rust/bin \ 112add0d91Sopenharmony_ci CC_arm_unknown_linux_musleabihf=musl-gcc \ 122add0d91Sopenharmony_ci CARGO_TARGET_ARM_UNKNOWN_LINUX_MUSLEABIHF_LINKER=musl-gcc \ 132add0d91Sopenharmony_ci CARGO_TARGET_ARM_UNKNOWN_LINUX_MUSLEABIHF_RUNNER="qemu-arm -L /musl-arm" \ 142add0d91Sopenharmony_ci RUSTFLAGS="-L /musl-arm/lib" 15