mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-06-12 23:47:32 +02:00
add python3 to hubot
This commit is contained in:
parent
da1cdb7dd6
commit
ce587f42c9
@ -11,7 +11,7 @@ ENV HUBOT_DESCRIPTION=$HUBOT_NAME-$HUBOT_ADAPTER
|
|||||||
ENV HUBOT_SLACK_TOKEN=
|
ENV HUBOT_SLACK_TOKEN=
|
||||||
|
|
||||||
RUN set -xe \
|
RUN set -xe \
|
||||||
&& apk add --update ca-certificates nodejs nodejs-npm \
|
&& apk add --update ca-certificates nodejs nodejs-npm python3 \
|
||||||
&& npm install -g yo generator-hubot \
|
&& npm install -g yo generator-hubot \
|
||||||
&& adduser -s /bin/sh -D hubot
|
&& adduser -s /bin/sh -D hubot
|
||||||
|
|
||||||
@ -33,7 +33,10 @@ RUN set -xe \
|
|||||||
url \
|
url \
|
||||||
&& sed -i -r 's/^\s+#//' scripts/example.coffee
|
&& sed -i -r 's/^\s+#//' scripts/example.coffee
|
||||||
|
|
||||||
VOLUME /home/hobot
|
VOLUME /home/hobot \
|
||||||
|
/usr/local/bin \
|
||||||
|
/usr/lib/python3.6/site-packages
|
||||||
|
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
|
||||||
CMD ["./bin/hubot", "--adapter", "slack"]
|
CMD ["./bin/hubot", "--adapter", "slack"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user