diff docker_legacy/jp/Dockerfile @ 164:29873a41aae1

docker: new docker files are now in sat main repos, this one is legacy
author Goffi <goffi@goffi.org>
date Fri, 01 Jan 2021 18:33:52 +0100
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/docker_legacy/jp/Dockerfile	Fri Jan 01 18:33:52 2021 +0100
@@ -0,0 +1,32 @@
+###############################################################
+#                                                             #
+#                       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"]