RUN apt-get update && apt-get install -y docker.io
This commit is contained in:
@@ -29,6 +29,9 @@ RUN ./gradlew bootJar -x test --no-daemon
|
||||
|
||||
# 2. Финальный образ (Runtime stage)
|
||||
FROM eclipse-temurin:21-jdk-jammy
|
||||
# КРИТИЧЕСКОЕ ОБНОВЛЕНИЕ: Устанавливаем Docker CLI здесь!
|
||||
RUN apt-get update && apt-get install -y docker.io && apt-get clean
|
||||
|
||||
WORKDIR /app
|
||||
COPY --from=build /app/build/libs/*.jar app.jar
|
||||
|
||||
|
||||
Reference in New Issue
Block a user