1FROM ubuntu:16.04 2 3RUN apt-get update -y && apt-get install -y gcc gcc-aarch64-linux-gnu ca-certificates curl make git ninja-build 4RUN git config --global --add safe.directory '*' 5 6# The CMake in Ubuntu 16.04 was a bit too old for us to use so download one from 7# CMake's own releases and use that instead. 8RUN curl -L https://github.com/Kitware/CMake/releases/download/v3.29.3/cmake-3.29.3-linux-x86_64.tar.gz | tar xzf - 9ENV PATH=$PATH:/cmake-3.29.3-linux-x86_64/bin 10 11ENV CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER=aarch64-linux-gnu-gcc 12