Lightweight alpine docker image that runs hubot 3.x+ with Slack.
See full tags list.
Each docker image tag points to a specific Hubot 3.x version.
Git Tag | NPM Tag | Docker Tags |
---|---|---|
v3.3.2 | 3.3.2 | 3.3.2 , latest |
v3.3.1 | 3.3.1 | 3.3.1 |
v3.3.0 | 3.3.0 | 3.3.0 |
v3.2.0 | 3.2.0 | 3.2.0 |
v3.1.1 | 3.1.1 | 3.1.1 , 0.1.9 |
v3.1.0 | 3.1.0 | 3.1.0 |
v3.0.1 | 3.0.1 | 3.0.1 |
v3.0.0 | 3.0.0 | 3.0.0 |
WARNING: The 0.1.9
tag is kept for compatibility reasons (especially a dependency with the Hubot Helm Chart),
and does not come with the EXTRA_PACKAGES
and external-scripts.json
load functionality.
It will be removed at some point!
The following environment variables should be provided if you want to use Hubot.
HUBOT_SLACK_TOKEN
- Required Slack hubot integration API token. See hubot-slack documentation.HUBOT_NAME
- Optional bot name. Defaults torobot
.HUBOT_OWNER
- Optional bot owner name. Defaults toMindDoc <[email protected]>
.HUBOT_DESCRIPTION
- Optional bot description. Defaults toA robot may not harm humanity, or, by inaction, allow humanity to come to harm
.EXTRA_PACKAGES
- Optional comma-separated list of NPM packages, required by your scripts.
You can pull the image from Docker Hub using the docker pull minddocdev/hubot
command.
We use automated build set up.
docker pull minddocdev/hubot
You can also build the image yourself. Checkout the repository
git clone https://github.com/minddocdev/hubot
cd hubot
docker build -t minddocdev/hubot .
docker images minddocdev/hubot
To jump into the container's bash
shell
docker run -it minddocdev/hubot /bin/sh
Just define the EXTRA_PACKAGES
environment variable.
docker run -ti -e EXTRA_PACKAGES=aws-sdk,cron minddocdev/hubot /bin/sh
Mount external-scripts.json
as a volume:
docker run -ti -v ${PWD}/external-scripts.json:/hubot/external-scripts.json minddocdev/hubot /bin/sh
- Docker Hub
minddocdev/hubot
- GitHub
minddocdev/hubot
- decayofmind/hubot-docker (load scripts inspiration)