Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/noqcks/alpine-hubot
Running hubot inside docker simply.
https://github.com/noqcks/alpine-hubot
Last synced: 23 days ago
JSON representation
Running hubot inside docker simply.
- Host: GitHub
- URL: https://github.com/noqcks/alpine-hubot
- Owner: noqcks
- License: mit
- Created: 2016-02-26T18:24:58.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2022-10-28T17:28:23.000Z (about 2 years ago)
- Last Synced: 2024-10-03T12:44:55.124Z (3 months ago)
- Language: Dockerfile
- Size: 31.3 KB
- Stars: 30
- Watchers: 2
- Forks: 37
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# alpine-hubot
[![Build Status](https://travis-ci.org/noqcks/alpine-hubot.svg?branch=master)](https://travis-ci.org/noqcks/alpine-hubot)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`