mirror of
https://github.com/octoleo/plantuml-server.git
synced 2024-11-14 08:24:06 +00:00
d73dea3d58
This cuts down on the verbosity for at least some CI build logs.
20 lines
482 B
Docker
20 lines
482 B
Docker
FROM maven:3-jdk-8 AS builder
|
|
|
|
COPY pom.xml /app/
|
|
COPY src /app/src/
|
|
|
|
WORKDIR /app
|
|
RUN mvn --batch-mode package
|
|
|
|
########################################################################################
|
|
|
|
FROM tomcat:9
|
|
MAINTAINER D.Ducatel
|
|
|
|
RUN apt-get update && \
|
|
apt-get install -y --no-install-recommends graphviz fonts-wqy-zenhei && \
|
|
apt-get clean
|
|
|
|
RUN rm -rf /usr/local/tomcat/webapps/ROOT
|
|
COPY --from=builder /app/target/plantuml.war /usr/local/tomcat/webapps/ROOT.war
|