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: I5882d7637fe8d0ea15040d75709e95b170789c09changes/60/11260/1
parent
a02280fa77
commit
599af3d300
|
@ -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
|
|
@ -0,0 +1,3 @@
|
|||
IMAGE=registry.sysmocom.de/public-inbox
|
||||
|
||||
include ../make/Makefile
|
Loading…
Reference in New Issue