WGU D387 - Spring Boot hotel app with internationalization & timezone features
1.9K
A Java 17 Spring Boot application bundling the Landon Hotel UI and REST API for searching rooms and managing reservations. Uses an in-memory H2 database by default.
Known Vulnerabilities: This image contains known security vulnerabilities in its dependencies:
Mitigation Options:
javax.* → jakarta.* migration)Vulnerability Scan:
docker scout cves local://d387-advanced-java:latest
# Shows: 2C 26H 29M 9L vulnerabilities
To Upgrade:
docker pull <your-username>/d387-app:latest
docker run --rm -p 8080:8080 <your-username>/d387-app:latest
# Open: http://localhost:8080
8080/tcp: HTTP server (UI + API)GET /actuator/health/ (LandonHotelApp)-e JAVA_TOOL_OPTIONS="-Xms256m -Xmx512m"-e SERVER_PORT=8080 -p 8080:8080-e SPRING_PROFILES_ACTIVE=prodlatest: current stable build<git-sha>: immutable build tag (e.g., 1a2b3c4)Examples:
docker run --rm -p 8080:8080 <your-username>/d387-app:latest
docker run --rm -p 8080:8080 <your-username>/d387-app:1a2b3c4
8080httpGet path /actuator/health, port 8080/actuator/healtheclipse-temurin:17-jre-alpine/appjava -jar /app/app.jar8080Default container user is root (from base image)
Hardened run example:
docker run --rm -p 8080:8080 --user 10001:10001 --read-only \
-v /tmp:/tmp <your-username>/d387-app:latest
Additional Security Measures:
docker logs <container-id>curl -sSf http://localhost:8080/actuator/health-p 8081:8080| Component | Version | Status |
|---|---|---|
| Spring Boot | 2.7.18 | End-of-life (last 2.7.x release) |
| Tomcat | 9.0.83 | Known vulnerabilities (2C, 26H) |
| Java | 17 | Supported |
| Base Image | eclipse-temurin:17-jre-alpine | Up-to-date |
Recommended for Production: Upgrade to Spring Boot 3.3.x for active security support.
Content type
Image
Digest
sha256:7c22b8d9c…
Size
101.7 MB
Last updated
10 months ago
docker pull zinthose/d387-app