feat: 支持 GraalVM JDK25 native 镜像与三 runner 并行
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 30s
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 30s
This commit is contained in:
@@ -29,9 +29,10 @@ ENV SERVER_PORT=8080
|
||||
ENV APP_JAR=/app/app.jar
|
||||
ENTRYPOINT ["/app/bin/java-run.sh"]
|
||||
|
||||
FROM ghcr.io/graalvm/native-image-community:25 AS runtime-native
|
||||
FROM oraclelinux:10-slim AS runtime-native
|
||||
WORKDIR /app
|
||||
RUN groupadd --system app && useradd --system --gid app app && chown -R app:app /app
|
||||
RUN microdnf install -y shadow-utils && microdnf clean all \
|
||||
&& groupadd --system app && useradd --system --gid app app && chown -R app:app /app
|
||||
COPY --from=native-builder --chown=app:app /workspace/target/springboot-cici-demo /app/app
|
||||
USER app
|
||||
EXPOSE 8080
|
||||
|
||||
Reference in New Issue
Block a user