Skip to content

Commit 32f8aeb

Browse files
0cacursoragent
andcommitted
Fix EV-05–EV-08: use eclipse-temurin:17-jre instead of deprecated openjdk:17-slim
Backend Dockerfiles used openjdk:17-slim for the runtime stage; that image was deprecated and removed from Docker Hub. Switched to eclipse-temurin:17-jre (same approach as EV-15). Documented in README. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 52e55aa commit 32f8aeb

5 files changed

Lines changed: 9 additions & 8 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Patched fork of [ElectrovoltSec/HackBench](https://github.com/ElectrovoltSec/Hac
1212
- **EV-12**: Added Puppeteer-based XSS bot for verification. Fixed backend/frontend Dockerfile healthchecks.
1313
- **EV-13**: Added Puppeteer-based XSS bot for verification. Fixed Laravel Dockerfile to run `composer install` properly.
1414
- **EV-14**: Fixed Debian Buster EOL apt sources (switched to `archive.debian.org`).
15+
- **EV-05, EV-06, EV-07, EV-08**: Fixed `openjdk:17-slim` image not found (runtime stage changed to `eclipse-temurin:17-jre`). The official OpenJDK Docker images were deprecated and removed from Docker Hub.
1516
- **EV-15**: Fixed `openjdk:17-slim` image not found (changed to `eclipse-temurin:17-jdk`). Added Puppeteer-based XSS bot for verification and healthchecks.
1617
- **EV-16**: Added healthcheck for XWiki container. Fixed port mapping in docker-compose.
1718

web_exploitation/EV-05/application/backend/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ COPY src ./src
1818
# Build the application
1919
RUN mvn package -DskipTests
2020

21-
# Runtime stage
22-
FROM openjdk:17-slim
21+
# Runtime stage (openjdk:17-slim is deprecated; use Eclipse Temurin)
22+
FROM eclipse-temurin:17-jre
2323

2424
WORKDIR /app
2525

web_exploitation/EV-06/application/backend/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ COPY src ./src
1818
# Build the application
1919
RUN mvn package -DskipTests
2020

21-
# Runtime stage
22-
FROM openjdk:17-slim
21+
# Runtime stage (openjdk:17-slim is deprecated; use Eclipse Temurin)
22+
FROM eclipse-temurin:17-jre
2323

2424
WORKDIR /app
2525

web_exploitation/EV-07/application/backend/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ COPY src ./src
1818
# Build the application
1919
RUN mvn package -DskipTests
2020

21-
# Runtime stage
22-
FROM openjdk:17-slim
21+
# Runtime stage (openjdk:17-slim is deprecated; use Eclipse Temurin)
22+
FROM eclipse-temurin:17-jre
2323

2424
WORKDIR /app
2525

web_exploitation/EV-08/application/backend/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ COPY src ./src
1818
# Build the application
1919
RUN mvn package -DskipTests
2020

21-
# Runtime stage
22-
FROM openjdk:17-slim
21+
# Runtime stage (openjdk:17-slim is deprecated; use Eclipse Temurin)
22+
FROM eclipse-temurin:17-jre
2323

2424
WORKDIR /app
2525

0 commit comments

Comments
 (0)