Commit 43ff9819 authored by Joseph Walton-Rivers's avatar Joseph Walton-Rivers

work on docker-based builder

parent 1aa1d466
FROM maven:3-jdk-8-slim as builder
WORKDIR /root/
ADD src/ .
ADD pom.xml .
RUN mvn -B clean package
FROM openjdk:8-jdk-slim
WORKDIR /root/
COPY --from=builder /root/target/builder-jar-with-dependencies.jar .
RUN mkdir -p /home/webpigeon
CMD ["java", "-verbose:class", "-jar", "./builder-jar-with-dependencies.jar"]
......@@ -29,8 +29,10 @@
<archive>
<manifest>
<mainClass>${mainClass}</mainClass>
</manifest>
</archive>
</manifest>
</archive>
<finalName>builder</finalName>
<appendAssemblyId>true</appendAssemblyId>
</configuration>
<executions>
<execution>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment