mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-05-19 22:23:22 +02:00
update hubot
This commit is contained in:
parent
1bd64c9f7c
commit
be2562a05f
@ -10,13 +10,18 @@ ENV HUBOT_ADAPTER=slack
|
|||||||
ENV HUBOT_DESCRIPTION=$HUBOT_NAME-$HUBOT_ADAPTER
|
ENV HUBOT_DESCRIPTION=$HUBOT_NAME-$HUBOT_ADAPTER
|
||||||
ENV HUBOT_SLACK_TOKEN=
|
ENV HUBOT_SLACK_TOKEN=
|
||||||
|
|
||||||
RUN npm install -g hubot coffee-script yo generator-hubot \
|
RUN set -xe \
|
||||||
|
&& npm install -g coffee-script \
|
||||||
|
generator-hubot \
|
||||||
|
hubot \
|
||||||
|
yo \
|
||||||
&& useradd -m -s /bin/bash hubot
|
&& useradd -m -s /bin/bash hubot
|
||||||
|
|
||||||
USER hubot
|
USER hubot
|
||||||
WORKDIR /home/hubot
|
WORKDIR /home/hubot
|
||||||
|
|
||||||
RUN yo hubot --name $HUBOT_NAME \
|
RUN set -xe \
|
||||||
|
&& yo hubot --name $HUBOT_NAME \
|
||||||
--description $HUBOT_DESCRIPTION \
|
--description $HUBOT_DESCRIPTION \
|
||||||
--adapter $HUBOT_ADAPTER \
|
--adapter $HUBOT_ADAPTER \
|
||||||
--defaults \
|
--defaults \
|
||||||
@ -25,4 +30,4 @@ RUN yo hubot --name $HUBOT_NAME \
|
|||||||
|
|
||||||
VOLUME /home/hobot
|
VOLUME /home/hobot
|
||||||
|
|
||||||
CMD ["bin/hubot", "--adapter", "slack"]
|
CMD ["./bin/hubot", "--adapter", "slack"]
|
||||||
|
@ -1,11 +1,13 @@
|
|||||||
hubot
|
hubot
|
||||||
=====
|
=====
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
[hubot][1] is a customizable, life embetterment robot commissioned by github.
|
[hubot][1] is a customizable, life embetterment robot commissioned by github.
|
||||||
|
|
||||||
## docker-compse.yml
|
## docker-compse.yml
|
||||||
|
|
||||||
```
|
```yaml
|
||||||
hubot:
|
hubot:
|
||||||
image: vimagick/hubot
|
image: vimagick/hubot
|
||||||
environment:
|
environment:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user