1
0
mirror of https://github.com/octoleo/plantuml-server.git synced 2024-12-21 08:19:04 +00:00

Updated Jetty and JRE in Docker, fixed Alpine build

This commit is contained in:
Michele Adduci 2023-11-20 06:11:53 +01:00 committed by PlantUML
parent 0514103cc1
commit 74eb159a36
3 changed files with 8 additions and 7 deletions

View File

@ -1,4 +1,4 @@
FROM maven:3-eclipse-temurin-11 AS builder
FROM maven:3-eclipse-temurin-17 AS builder
COPY pom.xml pom.parent.xml /app/
COPY src/main /app/src/main/
@ -8,7 +8,7 @@ RUN mvn --batch-mode --define java.net.useSystemProxies=true package
########################################################################################
FROM jetty:11.0.15-jre11
FROM jetty:11.0.18-jre17-eclipse-temurin
# Proxy and OldProxy need empty path segments support in URIs
# Hence: allow AMBIGUOUS_EMPTY_SEGMENT

View File

@ -1,4 +1,4 @@
FROM maven:3-eclipse-temurin-11-alpine AS builder
FROM maven:3-eclipse-temurin-17-alpine AS builder
COPY pom.xml pom.parent.xml /app/
COPY src/main /app/src/main/
@ -8,7 +8,7 @@ RUN mvn --batch-mode --define java.net.useSystemProxies=true package
########################################################################################
FROM jetty:11.0.15-jre11-alpine-eclipse-temurin
FROM jetty:11.0.18-jre17-alpine-eclipse-temurin
# Proxy and OldProxy need empty path segments support in URIs
# Hence: allow AMBIGUOUS_EMPTY_SEGMENT
@ -30,9 +30,10 @@ ARG GRAPHVIZ_BUILD_DIR=/tmp/graphiz-build
RUN apk add --no-cache \
g++ \
jq \
libexpat \
expat-dev \
make \
zlib \
pkgconf \
&& \
mkdir -p $GRAPHVIZ_BUILD_DIR && \
cd $GRAPHVIZ_BUILD_DIR && \
@ -46,7 +47,7 @@ RUN apk add --no-cache \
apk del --no-cache \
g++ \
jq \
libexpat \
expat-dev \
make \
zlib \
&& \

View File

@ -63,7 +63,7 @@
<!-- main versions -->
<plantuml.version>1.2023.12</plantuml.version>
<!-- Please keep the jetty version identical with the docker image -->
<jetty.version>11.0.15</jetty.version>
<jetty.version>11.0.18</jetty.version>
<!--
While changing the version, please update the versions in the following files as well:
- src/main/webapp/components/app-head.jsp (script import)