This image serves as base image for Invenio instances running on CentOS7. The purpose is to provide a base image that is usable in production environments like OpenShift.
The image is based on the official CentOS image centos:7 and contains:
Dockerfile linksThis image is used by the scaffolded Dockerfile in the Invenio getting started guide. See the guide for quickly getting started.
DockerfileA simple Dockerfile using this base image could look like this:
FROM inveniosoftware/centos7-python:3.6
COPY ./ .
COPY ./docker/uwsgi/ ${INVENIO_INSTANCE_PATH}
RUN ./scripts/bootstrap
The following environment variables has been set:
WORKING_DIR=/opt/invenioINVENIO_INSTANCE_PATH=/opt/invenio/var/instanceINVENIO_USER_ID=1000The image is rebuild when the base image centos7:latest is updated. The base image is receiving regular monthly updates as well as emergency fixes.
Automated builds are configured using Docker Hub builds. The triggers are defined the following way:
Branch/tag Dockerfile Docker tag
Push to master ---> /python3.6/Dockerfile ---> 3.6
Push /^3\.6.*/ tag ---> /python3.6/Dockerfile ---> git-tag-name, 3.6
This way, we will use tag 3.6 as latest for Python version and there is also the possibility to push tags for specific use cases such as pinning certain libraries or patches.
Copyright (C) 2018-2019 CERN.
Docker-Invenio is free software; you can redistribute it and/or modify it under the terms of the MIT License; see LICENSE file for more details.
Content type
Image
Digest
Size
485.4 MB
Last updated
almost 7 years ago
docker pull moderras/invenio:3.6