From d22d1583569ccfe7cf52f20e5100dda532aa9bba Mon Sep 17 00:00:00 2001 From: Dominique Date: Thu, 7 Dec 2017 10:48:11 +0100 Subject: [PATCH] Fixed line endings in 2 files Added copy of SA prefs if missing fixed dockerfile plugin configuration for deployment --- files/startup | 4 ++++ pom.xml | 46 ++++++++++++++++++++++++++++++++++++++++------ 2 files changed, 44 insertions(+), 6 deletions(-) diff --git a/files/startup b/files/startup index dc5e88e..17e41ea 100644 --- a/files/startup +++ b/files/startup @@ -11,6 +11,10 @@ if [ ! -f startup_done ]; then else rm spamassassin_user_prefs fi + if [ ! -f /root/.spamassassin/user_prefs ]; then + mkdir /root/.spamassassin + cp /var/spamassassin/user_prefs /root/.spamassassin/user_prefs + fi if [ ! -f .imapfilter/config.lua ]; then mv imapfilter_config.lua .imapfilter/config.lua else diff --git a/pom.xml b/pom.xml index 0181c9a..ac90d79 100644 --- a/pom.xml +++ b/pom.xml @@ -3,9 +3,9 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - org.morkitu.marmotte + domcomte imapscan - 0.9 + 0.10 Remote IMAP spam filtering. @@ -22,6 +22,26 @@ + + maven-jar-plugin + 2.3.1 + + + default-jar + none + + + + + maven-deploy-plugin + 2.7 + + + default-deploy + none + + + com.spotify dockerfile-maven-plugin @@ -33,15 +53,29 @@ build + + default-push + deploy + + push + + + ${project.groupId}/${project.artifactId} + true + ${project.version} + true false - ${project.basedir} - ${project.artifactId} - domcomte/${project.artifactId} - ${project.version} + + + docker.io + Docker Hub + https://index.docker.io/v1/ + +