view docker/primitivus/Dockerfile @ 83:8dd32aa49614

docker: pid files are put in /tmp to avoid conflict when restarting a container
author Goffi <goffi@goffi.org>
date Thu, 18 Feb 2016 17:19:50 +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"]