view docker/jp/Dockerfile @ 37:2abfd0f6fd34

association: AG extraordinaire du 05/02/2015
author souliane <souliane@mailoo.org>
date Thu, 05 Feb 2015 11:46:12 +0100
parents 0e78c8a4626e
children 686a8c982c3f
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 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"]