mirror of
https://github.com/cna-bootcamp/phonebill.git
synced 2026-06-12 19:49:10 +00:00
Docker 이미지 빌드 오류 해결
1. JDK 버전 일치성 문제 해결 - Dockerfile OpenJDK 23 → Eclipse Temurin 21로 변경 - 프로젝트 JDK 21과 일치시킴 2. Docker Hub Rate Limit 해결 - Jenkinsfile에 Docker Hub 로그인 추가 - dockerhub-credentials 자격증명 설정 필요 - eclipse-temurin 이미지로 변경하여 안정성 향상 3. Jenkins 가이드 업데이트 - Docker Hub Credentials 설정 방법 추가 - Rate Limit 문제 해결 방안 제시 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
# Build stage
|
||||
FROM openjdk:23-oraclelinux8 AS builder
|
||||
FROM eclipse-temurin:21-jdk AS builder
|
||||
ARG BUILD_LIB_DIR
|
||||
ARG ARTIFACTORY_FILE
|
||||
COPY ${BUILD_LIB_DIR}/${ARTIFACTORY_FILE} app.jar
|
||||
|
||||
# Run stage
|
||||
FROM openjdk:23-slim
|
||||
FROM eclipse-temurin:21-jre
|
||||
ENV USERNAME=k8s
|
||||
ENV ARTIFACTORY_HOME=/home/${USERNAME}
|
||||
ENV JAVA_OPTS=""
|
||||
|
||||
Reference in New Issue
Block a user