Raspberry Pi compatible Docker Image with a minimal Hubot chat bot.
rpi-hubot is a chat bot built on the Hubot framework. It was initially generated by generator-hubot, and configured to be deployed in a Docker container on a Raspberry Pi to get you up and running as quick as possible.
$ docker build -t matthiasg/rpi-hubot .
$ docker run -i -t matthiasg/rpi-hubot
First, set HUBOT_SLACK_TOKEN environment variable. E.g.:
$ export HUBOT_SLACK_TOKEN="your-hubot-slack-token"
For optional use of hubot-microsoft-translato set also these additional environment variables:
$ export HUBOT_SLACK_EXIT_ON_DISCONNECT=true
$ export HUBOT_MICROSOFT_TRANSLATOR_CLIENT_ID="your_microsoft_translator_client_id"
$ export HUBOT_MICROSOFT_TRANSLATOR_CLIENT_SECRET="your_microsoft_translator_client_secret"
Then run hubot on slack:
$ docker run -d --env HUBOT_SLACK_TOKEN --env HUBOT_MICROSOFT_TRANSLATOR_CLIENT_ID --env HUBOT_MICROSOFT_TRANSLATOR_CLIENT_SECRET --env HUBOT_SLACK_EXIT_ON_DISCONNECT matthiasg/rpi-hubot slack