Skip to content

Commit

Permalink
Updated Jetty and JRE in Docker, fixed Alpine build
Browse files Browse the repository at this point in the history
  • Loading branch information
madduci authored and arnaudroques committed Nov 20, 2023
1 parent 0514103 commit 74eb159
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Dockerfile.jetty
Original file line number Diff line number Diff line change
@@ -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/
Expand All @@ -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
Expand Down
9 changes: 5 additions & 4 deletions Dockerfile.jetty-alpine
Original file line number Diff line number Diff line change
@@ -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/
Expand All @@ -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
Expand All @@ -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 && \
Expand All @@ -46,7 +47,7 @@ RUN apk add --no-cache \
apk del --no-cache \
g++ \
jq \
libexpat \
expat-dev \
make \
zlib \
&& \
Expand Down
2 changes: 1 addition & 1 deletion pom.parent.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 74eb159

Please sign in to comment.