mirror of
https://github.com/octoleo/plantuml-server.git
synced 2024-12-22 08:48:54 +00:00
use different container names for jetty and tomcat so they can be built in parallel without conflicting
This commit is contained in:
parent
0ec8cb68f4
commit
1b07c6d9c2
@ -1,4 +1,4 @@
|
||||
FROM maven:3-jdk-8 AS builder
|
||||
FROM maven:3-jdk-8 AS builderjetty
|
||||
|
||||
COPY pom.xml /app/
|
||||
COPY src /app/src/
|
||||
@ -22,4 +22,4 @@ USER jetty
|
||||
ENV GRAPHVIZ_DOT=/usr/bin/dot
|
||||
|
||||
ARG BASE_URL=ROOT
|
||||
COPY --from=builder /app/target/plantuml.war /var/lib/jetty/webapps/$BASE_URL.war
|
||||
COPY --from=builderjetty /app/target/plantuml.war /var/lib/jetty/webapps/$BASE_URL.war
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM maven:3-jdk-8 AS builder
|
||||
FROM maven:3-jdk-8 AS buildertomcat
|
||||
|
||||
COPY pom.xml /app/
|
||||
COPY src /app/src/
|
||||
@ -19,4 +19,4 @@ ENV GRAPHVIZ_DOT=/usr/bin/dot
|
||||
|
||||
ARG BASE_URL=ROOT
|
||||
RUN rm -rf /usr/local/tomcat/webapps/$BASE_URL
|
||||
COPY --from=builder /app/target/plantuml.war /usr/local/tomcat/webapps/$BASE_URL.war
|
||||
COPY --from=buildertomcat /app/target/plantuml.war /usr/local/tomcat/webapps/$BASE_URL.war
|
||||
|
Loading…
Reference in New Issue
Block a user