Mercurial > sat_docs
comparison docker/jp/Dockerfile @ 21:0e78c8a4626e
Added Dockerfiles to create Docker images for easy installation + scripts to manages them. see README for details.
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 19 Oct 2014 15:14:40 +0200 |
parents | |
children | 686a8c982c3f |
comparison
equal
deleted
inserted
replaced
20:703a394b9780 | 21:0e78c8a4626e |
---|---|
1 ############################################################### | |
2 # # | |
3 # Salut à Toi/jp # | |
4 # This Dockerfile build jp CLI frontend for Salut à Toi # | |
5 # Salut à Toi is a multi-frontends multi-purposes XMPP client # | |
6 # # | |
7 ############################################################### | |
8 | |
9 FROM salutatoi/base:latest | |
10 | |
11 MAINTAINER Goffi <goffi@goffi.org> | |
12 | |
13 ######## | |
14 # BASE # | |
15 ######## | |
16 | |
17 RUN apt-get install -y python-progressbar | |
18 RUN apt-get clean | |
19 | |
20 ######### | |
21 # D-Bus # | |
22 ######### | |
23 | |
24 # we create a wrapper to set the session bus address | |
25 RUN cp /usr/local/bin/dbus_wrap /usr/local/bin/jp && chmod 0555 /usr/local/bin/jp | |
26 | |
27 ########## | |
28 # LAUNCH # | |
29 ########## | |
30 | |
31 USER sat | |
32 | |
33 ENTRYPOINT ["jp"] |