Java-basierte Mailinglisten-Anwendung, die auf IMAP+SMTP aufsetzt, und damit (fast) jede Mailbox in eine Mailingliste verwandeln kann.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
FROM alpine:3.15
|
|
|
|
MAINTAINER Stephan Richter <s.richter@srsoftware.de>
|
|
|
|
|
|
|
|
RUN apk add --no-cache --update bash git maven openjdk17
|
|
|
|
|
|
|
|
# get the sources
|
|
|
|
RUN git clone https://git.srsoftware.de/StephanRichter/Widerhall.git
|
|
|
|
WORKDIR Widerhall
|
|
|
|
|
|
|
|
# compile
|
|
|
|
RUN mvn --no-transfer-progress clean test compile assembly:single
|
|
|
|
RUN ln -s target/*.jar widerhall.jar
|
|
|
|
|
|
|
|
# configure
|
|
|
|
RUN mkdir /data
|
|
|
|
RUN echo '{"locations":{"database":"/data/widerhall.sqlite3","configuration":"/data/widerhall.config.json","archive":"/data/archive","base":"/Widerhall"}}' > config/config.json
|
|
|
|
|
|
|
|
# get JQUERY
|
|
|
|
RUN wget https://code.jquery.com/jquery-3.6.0.min.js -O static/jquery-3.6.0.min.js
|
|
|
|
|
|
|
|
EXPOSE 80
|
|
|
|
CMD java -jar widerhall.jar
|