Commit 5f3380d7 authored by Fabrice  ALLAIN's avatar Fabrice ALLAIN
Browse files

fix: force python 2.7 dependency

parent 99041c79
......@@ -2,7 +2,7 @@ FROM centos:centos7
MAINTAINER Fabrice Allain <fabrice.allain@pasteur.fr>
RUN yum install -y epel-release
RUN yum install -y python2-pip python-devel gcc gcc-c++ make git wget
RUN yum install -y python2-pip python-devel gcc gcc-c++ make git wget which
RUN curl --silent --location https://rpm.nodesource.com/setup_8.x | bash -; yum -y install nodejs
RUN npm install -g --save-dev @commitlint/{cli,config-conventional}; npm install -g conventional-changelog-cli
......@@ -16,7 +16,6 @@ RUN mkdir build-aria && mkdir build-aria/src
ADD src/aria /build-aria/src/aria
ADD *.py PKG-INFO /build-aria/
RUN ls build-aria/src/aria
RUN type pip; type python
RUN pip --version
RUN cd build-aria; /usr/lib/python2.7/site-packages/pip install .; npm install --save-dev husky
RUN which pip; which python
RUN cd build-aria; pip install .; npm install --save-dev husky
RUN npx yarn add husky --dev
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment