From 37fa332a83be5be13944140cae5aa1ffc14bc1e7 Mon Sep 17 00:00:00 2001 From: crusader Date: Fri, 28 Jul 2017 14:59:18 +0900 Subject: [PATCH] Docker configuration --- pom.xml | 27 +++++++++++++++++++++++++++ src/main/docker/Dockerfile | 1 + 2 files changed, 28 insertions(+) create mode 100644 src/main/docker/Dockerfile diff --git a/pom.xml b/pom.xml index 866e1b2..9bdc79b 100644 --- a/pom.xml +++ b/pom.xml @@ -25,6 +25,9 @@ 5.2.10.Final 1.4.7 1.9.13 + + + ${docker.registry.name}phauer/${project.artifactId} @@ -195,6 +198,30 @@ implementationFile + + + com.spotify + docker-maven-plugin + 1.0.0 + + docker.loafle.net/overflow/${project.artifactId} + src/main/docker + + true + + ${project.version} + latest + + + + / + ${project.build.directory} + ${project.build.finalName}.jar + + + + + diff --git a/src/main/docker/Dockerfile b/src/main/docker/Dockerfile new file mode 100644 index 0000000..a36c0e7 --- /dev/null +++ b/src/main/docker/Dockerfile @@ -0,0 +1 @@ +FROM openjdk:8-jdk-alpine