view docker/jp/Dockerfile @ 86:f5067e3112ba

docker (libervia_cont): new commands: - renamed "run" to "start" for consistency with other tools - added "restart" command which do a stop then a start - added "config" command which edit container configuration with $EDITOR. "libervia" and "prosody" can be specified, default is libervia.
author Goffi <goffi@goffi.org>
date Thu, 18 Feb 2016 17:35:07 +0100
parents 686a8c982c3f
children b69056368901
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
RUN apt-get clean

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

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

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

USER sat

ENTRYPOINT ["jp"]