Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bis-aria
ariaec
Commits
5f3380d7
Commit
5f3380d7
authored
Jul 02, 2019
by
Fabrice ALLAIN
Browse files
fix: force python 2.7 dependency
parent
99041c79
Changes
1
Hide whitespace changes
Inline
Side-by-side
Dockerfile
View file @
5f3380d7
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment