Created
May 19, 2021 19:56
-
-
Save cyrusbehr/2fc0f7ec91dee9e98e217e74ce3c33bf to your computer and use it in GitHub Desktop.
Step 2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \ | |
build-essential \ | |
ninja-build \ | |
git \ | |
wget \ | |
zip \ | |
unzip \ | |
python3 \ | |
python3-pip \ | |
awscli \ | |
curl \ | |
crossbuild-essential-arm64 \ | |
&& rm -rf /var/lib/apt/lists/* | |
# cmake on Ubuntu 18.04 is too old | |
RUN python3 -m pip install cmake | |
# ccache on Ubuntu 18.04 is too old to support Cuda correctly | |
COPY scripts/deb_ubuntu_ccache.sh /work/ | |
RUN /work/deb_ubuntu_ccache.sh | |
COPY toolchains/aarch64-linux-gnu-toolchain.cmake /usr | |
ENV CMAKE_TOOLCHAIN_FILE=/usr/aarch64-linux-gnu-toolchain.cmake |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment