CentOS 7 container image with ...
- Create a new repository and use this repo as template
- Update the badge links in
README.md
- add docker credentials to be able to push your image to dockerhub
- add build notifications (slack and/or google hangout)
- remove the "Getting started" section in
README.md
- write your own Dockerfile and enjoy CI and notifications
- use ckaserer/docker-travis-cli to encrypt your docker credentials
git clone https://github.com/ckaserer/docker-travis-cli.git
source docker-travis-cli/bashrc
add-docker-credentials "dockerUsername"
or run following command directly
docker run --rm -i -e TZ=Europe/Vienna -v $(pwd):/root ckaserer/travis-cli add-docker-credentials "dockerUsername"
- login to https://team-gepardec.slack.com/
- go to https://team-gepardec.slack.com/apps/A0F81FP4N-travis-ci
- Click add to slack
- Choose channel #travis
- Click "Add Travis Integration"
- Customize the name and icon for integration e.g. your repo name "docker-template" + icon of the key technology in this case "docker"
- on top you will find setup instructions. You can't just copy and paste them!
- use ckaserer/docker-travis-cli to encrypt your slack token
git clone https://github.com/ckaserer/docker-travis-cli.git
source docker-travis-cli/bashrc
add-slack-token "workspace:myToken"
or run following command directly
docker run --rm -i -e TZ=Europe/Vienna -v $(pwd):/root ckaserer/travis-cli add-slack-token "workspace:myToken"
- open google chat
- open the room that you would like to add notifications too (e.g. Builds)
- click on the Dropdown next to the name of the room
- click on "Configure webhooks"
- Set a name (preferably the repo slug) and an avatar url
- Click "Save"
- Copy the webhook url
- use ckaserer/docker-travis-cli to encrypt your slack token
git clone https://github.com/ckaserer/docker-travis-cli.git
source docker-travis-cli/bashrc
add-googlechat-webhook "myWebhookUrl"
or run following command directly
docker run --rm -i -e TZ=Europe/Vienna -v $(pwd):/root ckaserer/travis-cli add-googlechat-webhook "myWebhookUrl"