File: Dockerfile

package info (click to toggle)
nmodl 0.6-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,992 kB
  • sloc: cpp: 28,492; javascript: 9,841; yacc: 2,804; python: 1,967; lex: 1,674; xml: 181; sh: 136; ansic: 37; makefile: 18; pascal: 7
file content (38 lines) | stat: -rw-r--r-- 928 bytes parent folder | download | duplicates (3)
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