FROM openshift/base-centos7 MAINTAINER Kjell Enblom ENV CROSSTOOL crosstool-ng-1.23.0 # Install system packages RUN yum -y update RUN yum -y install wget curl RUN yum -y install git RUN yum -y groupinstall "Development Tools" RUN yum -y install automake RUN yum -y install libtool RUN yum -y install gawk RUN yum -y install bison RUN yum -y install flex RUN yum -y install texinfo RUN yum -y install gperf RUN yum -y install ncurses-devel RUN yum -y install expat-devel RUN yum -y install subversion RUN yum -y install help2man WORKDIR /opt # Install crosstool-ng RUN curl -s http://crosstool-ng.org/download/crosstool-ng/${CROSSTOOL}.tar.bz2 | tar -xj WORKDIR ${CROSSTOOL} RUN cd /opt/${CROSSTOOL} #RUN /bin/sh RUN ./configure --prefix=/opt/crosstool-ng RUN make RUN make install ENV PATH="${PATH}:/opt/crosstool-ng/bin" WORKDIR /