java image edit
Some checks failed
test/timeline-server/pipeline/head There was a failure building this commit

This commit is contained in:
jiangh277
2025-12-24 17:04:30 +08:00
parent acfb4974a8
commit 8f397d93e7
4 changed files with 7 additions and 7 deletions

2
Jenkinsfile vendored
View File

@@ -189,7 +189,7 @@ pipeline {
// 生成Dockerfile内容的函数
def getDockerfileContent(serviceDir) {
return """FROM openjdk:21-jdk-slim
return """FROM eclipse-temurin:21-jdk
VOLUME /tmp
COPY target/*.jar app.jar
EXPOSE 8080

View File

@@ -1,4 +1,4 @@
FROM openjdk:21-jdk-slim
FROM eclipse-temurin:21-jdk
VOLUME /tmp
COPY target/*.jar app.jar
EXPOSE 30002

View File

@@ -1,4 +1,4 @@
FROM openjdk:21-jdk-slim
FROM eclipse-temurin:21-jdk
VOLUME /tmp
COPY target/*.jar app.jar
EXPOSE 30001

View File

@@ -1,4 +1,4 @@
FROM openjdk:21-jdk-slim
FROM eclipse-temurin:21-jdk
VOLUME /tmp
COPY target/*.jar app.jar
EXPOSE 30003