Build system for creating Docker image used by Travis testing framework for hepdata-converter
This is a companion repository for the https://github.com/HEPData/hepdata-converter repository
(it is also included there as a submodule in docker
directory)
This repository has only one purpose, to separate Dockerfile from the main hepdata-converter repository, in order to automate building Docker images with the help of Travis and then pushing them to DockerHub.
The basic workflow is as follows:
- Modify Dockerfile / requirements.txt (or any other files)
- Commit it to the repository
- Push the code
- Travis will create Docker image from Dockerfile and upload it to DockerHub
This file contains file requirements.txt, it is here on purpose, it should not be duplicated in hepdata-converter repository. Also Travis already has DockerHub credentials in its encrypted variables. If credentials are ever changed also update secure variables in Travis build, otherwise the image will be created but not uploaded.
Warning: any build will trigger upload of the new image (regardless of the branch, so be cautious about it, especially if you plan to start breaking things)