1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
|
FROM quay.io/pypa/manylinux2014_x86_64
LABEL authors="Omar Awile, Pramod Kumbhar, Alexandru Savulescu"
# install basic packages
RUN yum -y install \
git \
wget \
make \
vim \
curl \
unzip \
autoconf \
automake \
make \
openssh-server \
libtool
WORKDIR /root
RUN curl -L -o flex-2.6.4.tar.gz https://github.com/westes/flex/files/981163/flex-2.6.4.tar.gz \
&& tar -xvzf flex-2.6.4.tar.gz \
&& cd flex-2.6.4 \
&& ./configure --prefix=/nmodlwheel/flex \
&& make -j 3 install
RUN curl -L -o bison-3.7.3.tar.gz https://ftp.gnu.org/gnu/bison/bison-3.7.3.tar.gz \
&& tar -xvzf bison-3.7.3.tar.gz \
&& cd bison-3.7.3 \
&& ./configure --prefix=/nmodlwheel/bison \
&& make -j 3 install
ENV PATH /nmodlwheel/flex/bin:/nmodlwheel/bison/bin:/nmodlwheel/cmake/bin:$PATH
# Copy Dockerfile for reference
COPY Dockerfile .
# build wheels from there
WORKDIR /root
|