RUN apt-get update && apt-get install -y docker.io

This commit is contained in:
2026-05-06 12:50:49 +03:00
parent 2402b75cb4
commit 13e5949445
2 changed files with 53 additions and 0 deletions
+3
View File
@@ -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