view docker/jp/Dockerfile @ 110:51dc15fbd813

docker (libervia_cont): added check_docker_version function which return 0 if current docker version is greater than wanted one, -1 else
author Goffi <goffi@goffi.org>
date Mon, 29 Feb 2016 21:54:41 +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"]