๐บ Hardened Wolfi/apko Java images โ no shell/JDK in production, daily rebuilds.
363
Hardened, minimal Java container images built on Wolfiโ with apkoโ โ no distro, no shell, no JDK in production.
Rebuilt daily from Wolfi's rolling-release package repo, so security patches land automatically. Every build is scanned with Trivyโ ; results and an auto-generated SBOM are tracked on GitHubโ .
Two variants per Java version โ 17, 21:
| Tag | Contains | Use for |
|---|---|---|
<version> | JRE + CA certs only. No shell, no JDK. | Production runtime |
<version>-dev | Full JDK, plus maven and busybox (shell). | Builder stage โ compiling and packaging |
Each tag is overwritten with the newest build; there is no latest tag (pick a version explicitly).
Since the production image has no shell or JDK, compile in a -dev builder stage and copy the built artifact into the hardened final image:
# ---- Builder: has JDK + maven + shell ----
FROM teogisis/wolfpack-java:21-dev AS builder
WORKDIR /app
COPY pom.xml .
COPY src ./src
RUN mvn -B package -DskipTests
# ---- Final: hardened, no JDK, no shell ----
FROM teogisis/wolfpack-java:21
WORKDIR /app
COPY --from=builder /app/target/app.jar app.jar
ENTRYPOINT ["/usr/bin/java", "-jar", "app.jar"]
Runs as a non-root user (uid/gid 65532) by default. JAVA_HOME is set in both variants.
wolfpack-pythonโ ยท wolfpack-nodeโ ยท wolfpack-dotnetโ
Build configs, CI pipeline, and up-to-date vulnerability scan results: github.com/Theo-Gkisis/wolfpackโ
Content type
Image
Digest
sha256:13fcec2adโฆ
Size
96 MB
Last updated
about 14 hours ago
docker pull teogisis/wolfpack-java:17-dev