mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-12-27 10:57:28 +00:00
update java version in docker
This commit is contained in:
parent
9d4c896486
commit
edc4de85f2
1 changed files with 1 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ WORKDIR /jrebuild
|
|||
COPY --from=builder /app/app.jar ./app.jar
|
||||
|
||||
RUN set -eux; \
|
||||
DEPS="$(jdeps --ignore-missing-deps --multi-release=${JAVA_VERSION} --print-module-deps app.jar)"; \
|
||||
DEPS="$(jdeps --ignore-missing-deps --multi-release=21 --print-module-deps app.jar)"; \
|
||||
# Spring/Tomcat/Whatap가 건드릴 수 있는 모듈을 보강
|
||||
jlink --strip-debug --no-man-pages --no-header-files --compress=2 \
|
||||
--add-modules "$DEPS,\
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue