78dfb022966614977c56a6ef07b8799c0e8013d4 — nicoco 10 months ago a498992 master
Update base image to debian bookworm
1 files changed, 6 insertions(+), 2 deletions(-)

M Dockerfile
M Dockerfile => Dockerfile +6 -2
@@ 1,14 1,18 @@
# prosody container for dev
FROM docker.io/library/debian:stable AS prosody
FROM docker.io/library/debian:bookworm AS prosody

RUN apt-get update -y && apt-get install -y --no-install-recommends extrepo && extrepo enable prosody
RUN apt-get update -y && apt-get install -y --no-install-recommends lua5.2 liblua5.2-dev luarocks prosody lua-unbound
RUN apt-get update -y && apt-get install -y --no-install-recommends lua5.4 liblua5.4-dev luarocks prosody lua-unbound

RUN prosodyctl install --server=https://modules.prosody.im/rocks/ mod_privilege
RUN prosodyctl install --server=https://modules.prosody.im/rocks/ mod_conversejs

RUN mkdir -p /var/run/prosody && chown prosody:prosody /var/run/prosody
RUN prosodyctl register test localhost password
RUN prosodyctl cert generate localhost
# copy the cert to the old location for compatibility with older slidge containers
RUN cp /var/lib/prosody/localhost.* /etc/prosody/certs
RUN chown prosody:prosody /etc/prosody/certs/*

COPY ./prosody.cfg.lua /etc/prosody/prosody.cfg.lua