mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-02 09:21:34 +02:00
update errbot
This commit is contained in:
parent
57a9178321
commit
900aa2292a
@ -14,6 +14,7 @@ RUN set -xe \
|
||||
openssl-dev \
|
||||
python3 \
|
||||
python3-dev \
|
||||
&& pip3 install -U pip \
|
||||
&& pip3 install errbot \
|
||||
hypchat \
|
||||
irc \
|
||||
@ -30,7 +31,11 @@ RUN set -xe \
|
||||
|
||||
USER errbot
|
||||
WORKDIR /home/errbot
|
||||
RUN errbot --init
|
||||
|
||||
RUN set -xe \
|
||||
&& mkdir -p ~/.local/lib/python3.5/site-packages \
|
||||
&& errbot --init
|
||||
|
||||
VOLUME /home/errbot
|
||||
|
||||
ENTRYPOINT ["errbot"]
|
||||
|
@ -25,6 +25,10 @@ $ mkdir -m 777 data
|
||||
$ docker-compose run --rm errbot --init
|
||||
$ vim data/config.py
|
||||
$ docker-compose up -d
|
||||
$ docker-compose exec --user root errbot sh
|
||||
>>> chmod 777 /usr/lib/python3.5/site-packages
|
||||
>>> chmod 777 /usr/lib/python3.5/site-packages/__pycache__
|
||||
>>> exit
|
||||
```
|
||||
|
||||
Check the example config.py [here][2].
|
||||
|
@ -14,6 +14,7 @@ RUN set -xe \
|
||||
openssl-dev \
|
||||
python3 \
|
||||
python3-dev \
|
||||
&& pip3 install -U pip \
|
||||
&& pip3 install errbot \
|
||||
hypchat \
|
||||
irc \
|
||||
@ -30,7 +31,11 @@ RUN set -xe \
|
||||
|
||||
USER errbot
|
||||
WORKDIR /home/errbot
|
||||
RUN errbot --init
|
||||
|
||||
RUN set -xe \
|
||||
&& mkdir -p ~/.local/lib/python3.5/site-packages \
|
||||
&& errbot --init
|
||||
|
||||
VOLUME /home/errbot
|
||||
|
||||
ENTRYPOINT ["errbot"]
|
||||
|
Loading…
Reference in New Issue
Block a user