diff docker/primitivus/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 b69056368901
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/docker/primitivus/Dockerfile	Sun Oct 19 15:14:40 2014 +0200
@@ -0,0 +1,26 @@
+#####################################################################
+#                                                                   #
+#                      Salut à Toi/Primitivus                       #
+# This Dockerfile build Primitivus console frontend for Salut à Toi #
+#    Salut à Toi is a multi-frontends multi-purposes XMPP client    #
+#                                                                   #
+#####################################################################
+
+FROM salutatoi/base:latest
+
+MAINTAINER Goffi <goffi@goffi.org>
+
+#########
+# D-Bus #
+#########
+
+# we create a wrapper to set the session bus address
+RUN cp /usr/local/bin/dbus_wrap /usr/local/bin/primitivus && chmod 555 /usr/local/bin/primitivus
+
+##########
+# LAUNCH #
+##########
+
+USER sat
+
+ENTRYPOINT ["primitivus"]