Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
webservices
cern-search
cern-search-rest-api
Commits
98234c71
Commit
98234c71
authored
Jan 31, 2019
by
Pablo Panero
Browse files
docker: update docker image and ci to allow devel dependencies
parent
10486f9d
Changes
4
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
98234c71
...
...
@@ -36,6 +36,8 @@ build_dev_version:
tags
:
-
docker-image-build
script
:
'
echo
"Building
Dev/QA
Docker
image..."'
variables
:
BUILD_ARG
:
build_devel=1
########## PROD ##########
build_prod_version
:
...
...
Dockerfile
View file @
98234c71
...
...
@@ -2,6 +2,8 @@
# Use CentOS7:
FROM
cern/cc7-base
ARG
build_devel
ENV
DEVEL=$build_devel
# Install pre-requisites
RUN
yum update
-y
&&
\
...
...
@@ -15,9 +17,6 @@ RUN yum update -y && \
openldap-devel
&&
\
pip
install
--upgrade
pip setuptools wheel
ADD
requirements.txt /tmp
RUN
pip
install
-r
/tmp/requirements.txt
# CERN Search installation
WORKDIR
/code
ADD
. /code
...
...
requirements-devel.txt
0 → 100644
View file @
98234c71
flask
invenio-access>=1.0.0,<1.1.0
invenio-admin>=1.0.0,<1.1.0
invenio-accounts>=1.0.0,<1.1.0
invenio-app>=1.0.0,<1.1.0
invenio-base>=1.0.0,<1.1.0
invenio-config>=1.0.0,<1.1.0
invenio-db[postgresql,versioning]>=1.0.0,<1.1.0
-e git://github.com/ppanero/invenio-indexer.git@020008440e90128b6f0f9b2532a7a217c7e314b0#egg=invenio-indexer
invenio-jsonschemas>=1.0.0,<1.1.0
invenio-logging>=1.0.0,<1.1.0
invenio-records-rest[elasticsearch6]>=1.3.0,<1.4.0
invenio-records[postgresql]>=1.0.0,<1.1.0
invenio-rest[cors]>=1.0.0,<1.1.0
invenio-oauthclient>=1.0.0,<1.1.0
invenio_oauth2server>=1.0.0,<1.1.0
invenio-search[elasticsearch6]>=1.0.0,<1.1.0
invenio-theme>=1.0.0,<1.1.0
ldap>=1.0.2,<1.1.0
npm>=0.1.1
python-ldap>=3.1.0,<3.2.0
raven>=6.9.0,<6.10.0
redis>=2.10.0,<3.0.0
uWSGI>=2.0.16
uwsgi-tools>=1.1.1,<1.2.0
scripts/create-instance.sh
View file @
98234c71
...
...
@@ -5,7 +5,13 @@ set -o nounset
mkdir
-p
${
INVENIO_INSTANCE_PATH
}
npm update
&&
npm
install
--silent
-g
node-sass@3.8.0 clean-css@3.4.19 uglify-js@2.7.3 requirejs@2.2.0
pip
install
-r
requirements.txt
# If set install devel, else install prod
if
[
-n
"
${
DEVEL
-
}
"
]
;
then
yum
install
-y
git
pip
install
-r
requirements-devel.txt
else
pip
install
-r
requirements.txt
fi
pip
install
-e
.[all,postgresql,elasticsearch6]
# Needed for invenio-admin UI
...
...
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