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