Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 21b5e2d19b | |||
| 4de30316aa | |||
| a60be883e9 |
@@ -29,6 +29,7 @@ RUN apt-get update \
|
||||
lua-socket \
|
||||
lua-zlib \
|
||||
lua5.1 \
|
||||
lua5.2 \
|
||||
openssl \
|
||||
ca-certificates \
|
||||
ssl-cert \
|
||||
@@ -40,6 +41,8 @@ RUN dpkg -i /tmp/prosody.deb \
|
||||
&& sed -i '1s/^/daemonize = false;\n/' /etc/prosody/prosody.cfg.lua \
|
||||
&& perl -i -pe 'BEGIN{undef $/;} s/^log = {.*?^}$/log = {\n {levels = {min = "info"}, to = "console"};\n}/smg' /etc/prosody/prosody.cfg.lua
|
||||
|
||||
RUN mkdir -p /var/run/prosody && chown prosody:prosody /var/run/prosody
|
||||
|
||||
COPY ./entrypoint.sh /entrypoint.sh
|
||||
RUN chmod 755 /entrypoint.sh
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
|
||||
@@ -16,7 +16,7 @@ For images please see here: [Prosody on Docker](https://hub.docker.com/r/prosody
|
||||
|
||||
It works by copying in a recently built `deb` file and running the install on the system.
|
||||
|
||||
Docker images are built off an __Ubuntu 14.04 LTS__ base.
|
||||
Docker images are built off an __Debian 9 (stretch)__ base.
|
||||
|
||||
```bash
|
||||
docker run -d --name prosody -p 5222:5222 prosody/prosody
|
||||
|
||||
Reference in New Issue
Block a user