Skip to content

Commit eb6c63c

Browse files
committed
Docker: use JDK 17 for all Dockerfiles
1 parent a95d286 commit eb6c63c

File tree

4 files changed

+4
-12
lines changed

4 files changed

+4
-12
lines changed

Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@
33
#
44
# - note: default tag for branch: dspace/dspace: dspace/dspace:dspace-7_x
55

6-
# This Dockerfile uses JDK11 by default, but has also been tested with JDK17.
7-
# To build with JDK17, use "--build-arg JDK_VERSION=17"
8-
ARG JDK_VERSION=11
6+
ARG JDK_VERSION=17
97
# The Docker version tag to build from
108
ARG DSPACE_VERSION=dspace-7_x
119
# The Docker registry to use for DSpace images. Defaults to "docker.io"

Dockerfile.cli

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@
33
#
44
# - note: default tag for branch: dspace/dspace-cli: dspace/dspace-cli:dspace-7_x
55

6-
# This Dockerfile uses JDK11 by default, but has also been tested with JDK17.
7-
# To build with JDK17, use "--build-arg JDK_VERSION=17"
8-
ARG JDK_VERSION=11
6+
ARG JDK_VERSION=17
97
# The Docker version tag to build from
108
ARG DSPACE_VERSION=dspace-7_x
119
# The Docker registry to use for DSpace images. Defaults to "docker.io"

Dockerfile.dependencies

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22
# The purpose of this image is to make the build for dspace/dspace run faster
33
#
44

5-
# This Dockerfile uses JDK11 by default, but has also been tested with JDK17.
6-
# To build with JDK17, use "--build-arg JDK_VERSION=17"
7-
ARG JDK_VERSION=11
5+
ARG JDK_VERSION=17
86

97
# Step 1 - Download all Dependencies
108
FROM docker.io/maven:3-eclipse-temurin-${JDK_VERSION} AS build

Dockerfile.test

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@
55
#
66
# This image is meant for TESTING/DEVELOPMENT ONLY as it deploys the old v6 REST API under HTTP (not HTTPS)
77

8-
# This Dockerfile uses JDK11 by default, but has also been tested with JDK17.
9-
# To build with JDK17, use "--build-arg JDK_VERSION=17"
10-
ARG JDK_VERSION=11
8+
ARG JDK_VERSION=17
119
# The Docker version tag to build from
1210
ARG DSPACE_VERSION=dspace-7_x
1311
# The Docker registry to use for DSpace images. Defaults to "docker.io"

0 commit comments

Comments
 (0)