FROM centos:7.6.1810 ARG gcc_version=10.2-2020.11 ENV GCC_VERSION $gcc_version # Install requirements RUN yum install -y wget tar git make redhat-lsb-core autoconf automake libtool glibc-devel libaio-devel openssl-devel apr-devel lksctp-tools # Install Java RUN yum install -y java-11-openjdk-devel # Install aarch64 gcc 10.2 toolchain RUN wget https://developer.arm.com/-/media/Files/downloads/gnu-a/$GCC_VERSION/binrel/gcc-arm-$GCC_VERSION-x86_64-aarch64-none-linux-gnu.tar.xz && \ tar xvf gcc-arm-$GCC_VERSION-x86_64-aarch64-none-linux-gnu.tar.xz && mv gcc-arm-$GCC_VERSION-x86_64-aarch64-none-linux-gnu /opt/ ENV PATH="/opt/gcc-arm-$GCC_VERSION-x86_64-aarch64-none-linux-gnu/bin:${PATH}" ENV JAVA_HOME="/usr/lib/jvm/java-11-openjdk/"