Running hubot inside docker simply.
Branch: master
Clone or download
Barneyjm and noqcks alpine no longer packages npm with default nodejs install (#1)
* alpine no longer packages npm with default nodejs install

* \ facepalm
Latest commit e03c512 Nov 11, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
hubot adding hubot-schedule Dec 7, 2015
.dockerignore added docker stuff Nov 20, 2015
.gitignore adding elasticbeanstalk to git Nov 20, 2015
.travis.yml updating travis file Mar 3, 2016
Dockerfile Start without npm install (#3) Nov 11, 2018
LICENSE adding LICENSE Mar 3, 2016
README.md
package.json init commit Feb 26, 2016

README.md

alpine-hubot

Build Status

Putting hubot inside Docker.

Testing

Pre-requisites:

  • A slack token for your bot

To build a docker image

docker build -t alpine-hubot .

To run the docker image

docker run -e HUBOT_SLACK_TOKEN=$slack_token -d alpine-hubot

To see your docker logs, run docker ps and grab the ID of your bot container then run docker logs $ID.

Adding Scripts

External Scripts

Assuming your hubot script is called hubot-foo

  1. npm install --save hubot-foo
  2. add hubot-foo to hubot/external-scripts.json