TODO: move to github actions and update documentation
This repository holds reusable images we need to build or extend very often.
List of available images: https://github.com/code-rhapsodie/docker/packages
docker pull docker.pkg.github.com/code-rhapsodie/docker/<IMAGE>:<VERSION>
or
https://hub.docker.com/repository/docker/coderhapsodie/docker
docker pull coderhapsodie/docker:<IMAGE>-<VERSION>
- create a folder
myimage
- create a subfolder for the version
version
- create a
Dockerfile
inmyimage/version
- add the
myimage
/version
tuple as a new entry in the env/matrix in.travis.yml
- travis build the image
- travis push the image with a deployment step
It uses encrypted credentials tied to this project and pushed with:
$ travis encrypt GITHUB_USERNAME=XXXX --add env.global
$ travis encrypt GITHUB_PASSWORD=XXXX --add env.global
Documentation: when modifying the documention please add [ci skip]
in the commit message.
- make it possible to reuse one of the existing built image during the same build