-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* WARNING: it uses inspire-idutils to support python 2.7. * ref: cern-sis/issues-inspire#465
- Loading branch information
Showing
5 changed files
with
445 additions
and
391 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,30 +29,30 @@ FROM centos:7 | |
RUN yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm && \ | ||
yum update -y && \ | ||
yum install -y \ | ||
ImageMagick \ | ||
transfig \ | ||
file \ | ||
firefox \ | ||
gcc \ | ||
gcc-c++ \ | ||
git \ | ||
kstart \ | ||
libffi-devel \ | ||
libxml2-devel \ | ||
libxslt-devel \ | ||
mailcap \ | ||
make \ | ||
openssl-devel \ | ||
poppler-utils \ | ||
postgresql \ | ||
postgresql-libs \ | ||
postgresql-devel \ | ||
python-pip \ | ||
python-devel \ | ||
python2-xrootd \ | ||
wget \ | ||
Xvfb \ | ||
&& \ | ||
ImageMagick \ | ||
transfig \ | ||
file \ | ||
firefox \ | ||
gcc \ | ||
gcc-c++ \ | ||
git \ | ||
kstart \ | ||
libffi-devel \ | ||
libxml2-devel \ | ||
libxslt-devel \ | ||
mailcap \ | ||
make \ | ||
openssl-devel \ | ||
poppler-utils \ | ||
postgresql \ | ||
postgresql-libs \ | ||
postgresql-devel \ | ||
python-pip \ | ||
python-devel \ | ||
python2-xrootd \ | ||
wget \ | ||
Xvfb \ | ||
&& \ | ||
yum clean all | ||
|
||
ENV NODE_VERSION 6.17.1 | ||
|
@@ -71,22 +71,22 @@ ENV NODE_PATH $NVM_DIR/v$NODE_VERSION/lib/node_modules | |
ENV PATH $NVM_DIR/versions/node/v$NODE_VERSION/bin:$PATH | ||
|
||
RUN npm install -g \ | ||
[email protected] \ | ||
clean-css@^3.4.24 \ | ||
requirejs \ | ||
uglify-js | ||
[email protected] \ | ||
clean-css@^3.4.24 \ | ||
requirejs \ | ||
uglify-js | ||
|
||
ENV PATH="/root/.poetry/bin:${PATH}" \ | ||
POETRY_VIRTUALENVS_CREATE=false \ | ||
POETRY_VERSION=1.1.6 | ||
POETRY_VERSION=1.1.14 | ||
|
||
WORKDIR /code | ||
|
||
RUN curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/4ec09d4e6b8ca007e67bb873c96277b54986fbdb/get-poetry.py \ | ||
| sed -E 's/(self\._get\(self\.METADATA_URL\).decode)\(\)/\1("utf-8")/' \ | ||
| python && \ | ||
poetry --version && \ | ||
pip install --no-cache-dir --upgrade pip==20.3.4 && \ | ||
pip install --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host files.pythonhosted.org --ignore-installed --no-cache-dir --upgrade pip==20.3.4 && \ | ||
pip install --no-cache-dir --upgrade setuptools && \ | ||
pip install --no-cache-dir --upgrade wheel && \ | ||
pip install --no-cache-dir typing==3.7.4.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,30 +29,30 @@ FROM centos:7 | |
RUN yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm && \ | ||
yum update -y && \ | ||
yum install -y \ | ||
ImageMagick \ | ||
transfig \ | ||
file \ | ||
firefox \ | ||
gcc \ | ||
gcc-c++ \ | ||
git \ | ||
kstart \ | ||
libffi-devel \ | ||
libxml2-devel \ | ||
libxslt-devel \ | ||
mailcap \ | ||
make \ | ||
openssl-devel \ | ||
poppler-utils \ | ||
postgresql \ | ||
postgresql-libs \ | ||
postgresql-devel \ | ||
python-pip \ | ||
python-devel \ | ||
python2-xrootd \ | ||
wget \ | ||
Xvfb \ | ||
&& \ | ||
ImageMagick \ | ||
transfig \ | ||
file \ | ||
firefox \ | ||
gcc \ | ||
gcc-c++ \ | ||
git \ | ||
kstart \ | ||
libffi-devel \ | ||
libxml2-devel \ | ||
libxslt-devel \ | ||
mailcap \ | ||
make \ | ||
openssl-devel \ | ||
poppler-utils \ | ||
postgresql \ | ||
postgresql-libs \ | ||
postgresql-devel \ | ||
python-pip \ | ||
python-devel \ | ||
python2-xrootd \ | ||
wget \ | ||
Xvfb \ | ||
&& \ | ||
yum clean all | ||
|
||
ENV NODE_VERSION 6.17.1 | ||
|
@@ -71,22 +71,22 @@ ENV NODE_PATH $NVM_DIR/v$NODE_VERSION/lib/node_modules | |
ENV PATH $NVM_DIR/versions/node/v$NODE_VERSION/bin:$PATH | ||
|
||
RUN npm install -g \ | ||
[email protected] \ | ||
clean-css@^3.4.24 \ | ||
requirejs \ | ||
uglify-js | ||
[email protected] \ | ||
clean-css@^3.4.24 \ | ||
requirejs \ | ||
uglify-js | ||
|
||
ENV PATH="/root/.poetry/bin:${PATH}" \ | ||
POETRY_VIRTUALENVS_CREATE=false \ | ||
POETRY_VERSION=1.1.6 | ||
POETRY_VERSION=1.1.14 | ||
|
||
WORKDIR /code | ||
|
||
RUN curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/4ec09d4e6b8ca007e67bb873c96277b54986fbdb/get-poetry.py \ | ||
| sed -E 's/(self\._get\(self\.METADATA_URL\).decode)\(\)/\1("utf-8")/' \ | ||
| python && \ | ||
poetry --version && \ | ||
pip install --no-cache-dir --upgrade pip==20.3.4 && \ | ||
pip install --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host files.pythonhosted.org --ignore-installed --no-cache-dir --upgrade pip==20.3.4 && \ | ||
pip install --no-cache-dir --upgrade setuptools && \ | ||
pip install --no-cache-dir --upgrade wheel && \ | ||
pip install --no-cache-dir typing==3.7.4.1 | ||
|
Oops, something went wrong.