Mercurial > sat_docs
view docker/primitivus/Dockerfile @ 85:bcba1966e6db
docker: certificate generation + various improvments:
- certificate is now auto-generated on first prosody launch is there is not already one
- certificate generated on build is removed to avoid image-wide certificate
- generated certificates are stored in sat_data
- data image is now based on prosody which is itslef based on sat_pubsub
- prosody configuration is moved to /etc/prosody/prosody_sat_cfg, and stored in sat_data
- building order changed to adapt to new images hierarchy
- libervia default configuration set to both without redirection (and with a security warning)
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 18 Feb 2016 17:31:09 +0100 |
parents | 0e78c8a4626e |
children | b69056368901 |
line wrap: on
line source
##################################################################### # # # Salut à Toi/Primitivus # # This Dockerfile build Primitivus console frontend for Salut à Toi # # Salut à Toi is a multi-frontends multi-purposes XMPP client # # # ##################################################################### FROM salutatoi/base:latest MAINTAINER Goffi <goffi@goffi.org> ######### # D-Bus # ######### # we create a wrapper to set the session bus address RUN cp /usr/local/bin/dbus_wrap /usr/local/bin/primitivus && chmod 555 /usr/local/bin/primitivus ########## # LAUNCH # ########## USER sat ENTRYPOINT ["primitivus"]