view docker/jp/Dockerfile @ 114:14b29b9e06bb

docker (prosody): fixed prosodyctl call in container_server: it was not using absolute path, so it was calling /usr/local/bin/prosodyctl instead of /usr/bin/prosodyctl, resulting in a loop
author Goffi <goffi@goffi.org>
date Tue, 01 Mar 2016 15:47:02 +0100
parents b69056368901
children
line wrap: on
line source

###############################################################
#                                                             #
#                       Salut à Toi/jp                        #
#    This Dockerfile build jp CLI frontend for Salut à Toi    #
# Salut à Toi is a multi-frontends multi-purposes XMPP client #
#                                                             #
###############################################################

FROM salutatoi/base:latest

MAINTAINER Goffi <goffi@goffi.org>

########
# BASE #
########

RUN apt-get install -y --no-install-recommends python-progressbar && apt-get clean && \

#########
# D-Bus #
#########

# we create a wrapper to set the session bus address
cp /usr/local/bin/dbus_wrap /usr/local/bin/jp

##########
# LAUNCH #
##########

USER sat

ENTRYPOINT ["jp"]