2020-04-23 13:58:08 +02:00
|
|
|
FROM centos:7.6.1810
|
|
|
|
|
2021-03-25 09:32:57 +01:00
|
|
|
ARG gcc_version=10.2-2020.11
|
2020-04-23 13:58:08 +02:00
|
|
|
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-1.8.0-openjdk-devel
|
|
|
|
|
2021-03-25 09:32:57 +01:00
|
|
|
# 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}"
|
2020-04-23 13:58:08 +02:00
|
|
|
|
|
|
|
ENV JAVA_HOME="/usr/lib/jvm/java-1.8.0-openjdk/"
|