[fix] Dockerfile WAR 컨텍스트/베이스 이미지 정정#35
Merged
eGovFrameSupport merged 1 commit intoJun 2, 2026
Merged
Conversation
pom.xml의 finalName 기준 실제 빌드 결과물명(egovframe-web-5.0.0.war)과 맞지 않는 COPY 경로(web-example-1.0.0.war)를 수정하고, JDK 8 기반의 구식 이미지(tomcat:8.5-jre8)를 Jakarta EE 10과 JDK 17을 지원하는 tomcat:10.1-jdk17-temurin으로 교체한다.
3 tasks
eGovFrameSupport
approved these changes
Jun 2, 2026
Contributor
|
표준프레임워크에 대한 지속적인 참여에 |
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
변경 사유
기존 Dockerfile에 두 가지 결함이 있어
docker build시 이미지가 정상적으로 생성되지 않았습니다../target/web-example-1.0.0.war는 pom.xmlfinalName(${project.artifactId}-${project.version})과 다른 파일명입니다. 실제 빌드 결과물은egovframe-web-5.0.0.war이므로 COPY 경로를 수정합니다.tomcat:8.5-jre8은 Java 8 / Servlet 3.1 기반으로, 본 프로젝트가 사용하는 Jakarta EE 10(Servlet 6.0)과 호환되지 않습니다.tomcat:10.1-jdk17-temurin으로 교체합니다.변경 내용
Dockerfile: 베이스 이미지tomcat:8.5-jre8→tomcat:10.1-jdk17-temurinDockerfile: COPY 경로web-example-1.0.0.war→egovframe-web-5.0.0.war영향 범위