fix(ci): use /dockerhub/ prefix для Nexus proxy путей
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
#
|
||||
# .dockerignore исключает frontend (admin-ui), bench, docs, target/, .git/,
|
||||
# IDE metadata — backend image остаётся компактным.
|
||||
FROM repo.nstart.cloud/library/maven:3.9.9-eclipse-temurin-21 AS build
|
||||
FROM repo.nstart.cloud/dockerhub/library/maven:3.9.9-eclipse-temurin-21 AS build
|
||||
# Git info из CI environment (`.gitlab-ci.yml` `--build-arg`) — нужен для
|
||||
# Spring Boot build-info goal через ordinis-app/pom.xml. Внутри Docker
|
||||
# context .git/ исключён (.dockerignore), поэтому git-commit-id-maven-plugin
|
||||
@@ -29,7 +29,7 @@ RUN mvn -B -pl ordinis-app -am package -DskipTests \
|
||||
-Dgit.tags="$GIT_TAG" \
|
||||
-Dgit.commit.time="$GIT_TIME"
|
||||
|
||||
FROM repo.nstart.cloud/library/eclipse-temurin:21-jre
|
||||
FROM repo.nstart.cloud/dockerhub/library/eclipse-temurin:21-jre
|
||||
# Non-root user — security hardening (CSO report 2026-05-27 finding #1).
|
||||
# Eclipse-temurin runtime image не задаёт USER by default → JVM от root.
|
||||
# Compromise через Spring Boot CVE / Jackson deserialization без USER
|
||||
|
||||
Reference in New Issue
Block a user