Public | Automated Build

Last pushed: 7 days ago
Short Description
hubot + hubot-slack
Full Description

hubot-slack

This repository contains the source for the hubot-slack docker image.

Acknowledgements

Based on hubot-rocketchat

Automated build

docker pull jordan/hubot-slack

Image details

  1. Based on node
  2. Hubot + hubot-slack adapter
  3. No SSH. Use docker exec or nsenter
  4. Supply HUBOT_SLACK_TOKEN or you won't get too far :)
  5. hubot might take a few minutes to connect to slack as it pulls the necessary node.js modules at startup
  6. hubot must be invited to channels
  7. Official hubot script repo: https://github.com/hubot-scripts

Usage

You must first add the Hubot Slack app to your team to obtain a token. Search for it here https://slack.com/apps

Start hubot-slack with your own scripts

sudo docker run -d --name "hubot" -e HUBOT_SLACK_TOKEN=MY_HUBOT_SLACK_TOKEN -v /path/to/hubot/volume:/home/hubot/scripts jordan/hubot-slack:latest

Start hubot-slack with the help and pugme scripts

sudo docker run -d --name "hubot" -e HUBOT_SLACK_TOKEN=MY_HUBOT_SLACK_TOKEN -e EXTERNAL_SCRIPTS=hubot-help,hubot-pugme jordan/hubot-slack:latest

Environment variables

HUBOT_SLACK_TOKEN - Your hubot slack token
ENV HUBOT_NAME - myhubot (default)
ENV HUBOT_OWNER - none (default)
ENV HUBOT_DESCRIPTION - Hubot (default)
ENV EXTERNAL_SCRIPTS - hubot-help (default).  Do not add hubot-slack to this list as it is already installed and enabled in the container.

Volumes

/etc/hubot/scripts
Docker Pull Command
Owner
jordan
Source Repository

Comments (1)
jordan
2 years ago

I am not notified when comments are added to Docker Hub. Please use https://github.com/jjethwa/hubot-slack