Dockerfile 1.02 KB
Newer Older
Fabrice  ALLAIN's avatar
Fabrice ALLAIN committed
1
2
3
4
FROM centos:centos7
MAINTAINER Fabrice Allain <fabrice.allain@pasteur.fr>

RUN yum install -y epel-release
Fabrice  ALLAIN's avatar
Fabrice ALLAIN committed
5
RUN yum install -y python2-pip python-devel gcc make git
6
7
RUN curl --silent --location https://rpm.nodesource.com/setup_8.x | bash -; yum -y install nodejs

Fabrice Allain's avatar
Fabrice Allain committed
8
RUN npm install -g --save-dev @commitlint/{cli,config-conventional}; npm install -g conventional-changelog-cli
9
RUN echo "module.exports = {extends: ['@commitlint/config-conventional']};" > commitlint.config.js
Fabrice  ALLAIN's avatar
Fabrice ALLAIN committed
10

Fabrice  ALLAIN's avatar
Fabrice ALLAIN committed
11
RUN pip install --upgrade pip ; pip install --upgrade setuptools; pip install sphinx; pip install numpy; pip install matplotlib; pip install coverage; pip install pytest; pip install pytest-cov
Fabrice  ALLAIN's avatar
Fabrice ALLAIN committed
12

Fabrice Allain's avatar
Fabrice Allain committed
13
14
RUN wget http://www2.ccpn.ac.uk/download/ccpnmr/analysis2.4.2.tar.gz; tar xvzf analysis2.4.2.tar.gz; export CCPNMR_TOP_DIR=$(pwd)/ccpnmr; export PYTHONPATH=${PYTHONPATH}:$CCPNMR_TOP_DIR/ccpnmr2.4/python

Fabrice  ALLAIN's avatar
Fabrice ALLAIN committed
15
16
RUN mkdir build-aria
ADD aria /build-aria/aria
Fabrice  ALLAIN's avatar
Fabrice ALLAIN committed
17
ADD *.py PKG-INFO /build-aria/
18
RUN cd build-aria && pip install .; npm install --save-dev husky
Fabrice Allain's avatar
Fabrice Allain committed
19
RUN npx yarn add husky --dev