Change in docker-playground[master]: add "public-inbox" Dockerfile + Makefiel

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Sun Oct 7 16:30:21 UTC 2018


Harald Welte has submitted this change and it was merged. ( https://gerrit.osmocom.org/11260 )

Change subject: add "public-inbox" Dockerfile + Makefiel
......................................................................

add "public-inbox" Dockerfile + Makefiel

this is just for playing around with it.  It might be a good alternative
mailing list archive + access technology in parallel to pipermail (or
soon hyperkitty).

Change-Id: I5882d7637fe8d0ea15040d75709e95b170789c09
---
A public-inbox/Dockerfile
A public-inbox/Makefile
2 files changed, 23 insertions(+), 0 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved; Verified



diff --git a/public-inbox/Dockerfile b/public-inbox/Dockerfile
new file mode 100644
index 0000000..a0d60f7
--- /dev/null
+++ b/public-inbox/Dockerfile
@@ -0,0 +1,20 @@
+FROM	debian:stable
+
+ENV	DEBIAN_FRONTEND noninteractive
+
+RUN	apt-get update && \
+	apt-get -y install \
+		git libtimedate-perl libemail-mime-perl libemail-mime-contenttype-perl \
+		make perl libplack-perl libmail-thread-perl liburi-perl libdanga-socket-perl \
+		libnet-server-perl libsearch-xapian-perl libdbi-perl libdbd-sqlite3-perl
+
+RUN	git clone https://public-inbox.org ~/public-inbox && \
+	cd ~/public-inbox && \
+	perl Makefile.PL && \
+	make && \
+	make install && \
+	rm -rf ~/public-inbox
+
+CMD	(cd /srv; for NAME in *; do CONF="/srv/${NAME}/config"; public-inbox-init "${NAME}" "/srv/${NAME}" $(git config -f "${CONF}" publicinbox.http) $(git config -f "${CONF}" publicinbox.email); done) && public-inbox-index /srv/* && public-inbox-httpd
+
+EXPOSE 8080
diff --git a/public-inbox/Makefile b/public-inbox/Makefile
new file mode 100644
index 0000000..0744814
--- /dev/null
+++ b/public-inbox/Makefile
@@ -0,0 +1,3 @@
+IMAGE=registry.sysmocom.de/public-inbox
+
+include ../make/Makefile

-- 
To view, visit https://gerrit.osmocom.org/11260
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I5882d7637fe8d0ea15040d75709e95b170789c09
Gerrit-Change-Number: 11260
Gerrit-PatchSet: 1
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181007/c7126f56/attachment.htm>


More information about the gerrit-log mailing list