Giter Site home page Giter Site logo

mb-wali / docker-invenio Goto Github PK

View Code? Open in Web Editor NEW

This project forked from inveniosoftware/docker-invenio

0.0 1.0 0.0 94 KB

Docker base images for Invenio.

Home Page: https://docker-invenio.readthedocs.io

License: MIT License

Dockerfile 93.02% Shell 6.98%

docker-invenio's Introduction

CentOS with Python 3 for Invenio

Build Status image image

This image serves as base image for Invenio instances running on CentOS. The purpose is to provide a base image that is usable in production environments like OpenShift.

The image is based on the official CentOS centos:7 and centos:8.2.2004 images and contains:

  • Python 3.6, 3.7, 3.8 or 3.9 set as default Python interpreter with upgraded versions of pip, pipenv, setuptools and wheel.
  • Tools: Node.js, NPM, Git, Curl Vim, Emacs, Development Tools.
  • Library devel packages: libffi, libxml2, libxslt.
  • Working directory for an Invenio instance.

Supported tags and respective Dockerfile links

Tag Python version Base CentOS version Dockerfile
inveniosoftware/centos7-python:3.6 3.6 7 python3.6/Dockerfile
inveniosoftware/centos8-python:3.7 3.7 8.2.2004 python3.7/Dockerfile
inveniosoftware/centos8-python:3.8 3.8 8.2.2004 python3.8/Dockerfile
inveniosoftware/centos7-python:3.9 3.9 7 python3.9/Dockerfile

Usage

This image is used by the scaffolded Dockerfile in the Invenio getting started guide. See the guide for quickly getting started.

Create a Dockerfile

A 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

Environment variables

The following environment variables has been set:

  • WORKING_DIR=/opt/invenio
  • INVENIO_INSTANCE_PATH=/opt/invenio/var/instance
  • INVENIO_USER_ID=1000

Rolling builds

The images are rebuilt when the base images are updated. The base image are receiving regular monthly updates as well as emergency fixes.

Automated builds

Automated builds are configured using Docker Hub builds, with each push to master initating a Docker Hub build that will be tagged per the table above.

License

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.

docker-invenio's People

Contributors

alexdutton avatar chiarabi avatar dinosk avatar fenekku avatar lnielsen avatar mb-wali avatar ntarocco avatar okraskaj avatar topless avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.