HEPData / hepdata-converter-docker

Build system for creating Docker image for hepdata-converter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GitHub Actions Status Docker Pulls

hepdata-converter-docker

Build system for creating Docker image used by Travis CI testing framework for hepdata-converter

This is a companion repository for the hepdata-converter repository (it is also included there as a submodule in the docker directory).

This repository has only one purpose: to separate the Dockerfile from the main hepdata-converter repository, in order to automate building Docker images with the help of Travis CI and then pushing them to DockerHub.

The Docker image hepdata-converter contains the ROOT and YODA dependencies needed for running the hepdata-converter code.

The basic workflow is as follows:

  1. Modify Dockerfile / requirements.txt (or any other files).
  2. Commit it to the repository.
  3. Push the code.
  4. Travis will create a Docker image from the Dockerfile and upload it to DockerHub.

For developers

This repository contains a file requirements.txt. It is here on purpose and should not be duplicated in the hepdata-converter repository. Also Travis CI already has DockerHub credentials in its encrypted variables. If credentials are ever changed, update the secure variables in the Travis CI build, otherwise the Docker image will be created but not uploaded.

Warning: any build on the master branch (or a tagged release) will trigger upload of the new Docker image to DockerHub, so be cautious about it, especially if you plan to start breaking things.

About

Build system for creating Docker image for hepdata-converter

License:GNU General Public License v2.0


Languages

Language:Dockerfile 78.7%Language:Shell 21.3%