Mercurial > sat_docs
view docker/data/Dockerfile @ 151:6f8c849daf2a
flatpak (build_manifest): updated org.freedesktop.Platform runtime version:
manifests were using an old 1.6 version of the runtime, this patch fixes them by using the
current 18.8 one. Thanks to that, the main_loop.patch which was made because of an
outdated version of GLib (see https://github.com/flatpak/flatpak/issues/1899) is not
needed anymore and has been removed.
Some useless extensions have also been removed from default manifest.
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 26 Jun 2019 20:49:31 +0200 |
parents | bcba1966e6db |
children |
line wrap: on
line source
############################################################### # # # Salut à Toi/data # # This Dockerfile build a « Salut à Toi » data image # # Salut à Toi is a multi-frontends multi-purposes XMPP client # # # ############################################################### FROM salutatoi/prosody:latest MAINTAINER Goffi <goffi@goffi.org> ########### # VOLUMES # ########### USER root # sat user home, where most of config files and databases are located VOLUME ["/home/sat"] # Prosody VOLUME ["/var/lib/prosody"] VOLUME ["/etc/prosody/prosody_sat_cfg"] # Postgres database, used in SàT PubSub VOLUME ["/var/lib/postgresql"] # TLS certificates VOLUME ["/usr/share/sat/certificates"] # Logs not shown directly with docker logs VOLUME ["/var/log"] ########## # BACKUP # ########## WORKDIR /volumes RUN ln -s /home/sat sat && \ ln -s /usr/share/sat/certificates certificates && \ ln -s /var/lib/prosody prosody && \ ln -s /etc/prosody/prosody_sat_cfg prosody_sat_cfg && \ ln -s /var/lib/postgresql postgresql && \ ln -s /var/log log VOLUME ["/volumes"] ENTRYPOINT ["/bin/true"]