A Slack HuBot in a Docker container using Alpine distribution (on top of busybox)
# To start: docker run -e HUBOT_SLACK_TOKEN=xxx_from_slack_integration_tool_xxx hubot
# another image could be used. It seems to not be up to date with alpine?
FROM mhart/alpine-node
RUN npm i -g coffee-script
RUN npm i -g yo generator-hubot
# can't yo as root, let's create a user
RUN adduser -h /hubot -D hubot
USER hubot
WORKDIR /hubot
RUN yo hubot --defaults
RUN npm i --save hubot-standup-alarm hubot-slack
#ADD hubot-scripts.json /hubot/
#ADD external-scripts.json /hubot/
RUN rm -rf /var/cache/apk/*
CMD bin/hubot -a slack