Skip to content

Commit f15c37d

Browse files
committed
build: update docker to Java 21
1 parent 41aefe1 commit f15c37d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

BUILDING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Prerequisites
22

3-
You should have JDK17 and Maven 3.9.0 or above.
3+
You should have JDK21 and Maven 3.9.0 or above.
44

55
# Building everything
66

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# - docker run -v "$HOME/.m2":/root/.m2 -it jooby
66
# - /build # mvn clean package
77

8-
FROM maven:3-eclipse-temurin-17 as build
8+
FROM maven:3-eclipse-temurin-21 AS build
99

1010
WORKDIR /build
1111

@@ -18,7 +18,7 @@ COPY jooby/ /build/jooby/
1818
COPY modules/ /build/modules/
1919
COPY tests/ /build/tests/
2020

21-
ENV BUILT_PORT 0
22-
ENV BUILT_SECURE_PORT 0
21+
ENV BUILT_PORT=0
22+
ENV BUILT_SECURE_PORT=0
2323

2424
CMD ["/bin/bash"]

0 commit comments

Comments
 (0)