3 Commits

Author SHA1 Message Date
Matthew Wild 21b5e2d19b Create directory for pidfile (usually created by init script) 2019-01-14 11:43:13 +00:00
Matthew Wild 4de30316aa Add lua5.2 for compatibility with 0.11 packages 2019-01-14 11:42:51 +00:00
Matthew Wild a60be883e9 Fix README to state new distribution base 2019-01-14 11:31:41 +00:00
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -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"]
+1 -1
View File
@@ -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