bentsolheim / distroless-java11-fontfail

Example application that demonstrates font issues with the distroless java 11 image

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Demonstration of failing distroless java 11

Build with

./gradlew jibDockerBuild

This will produce the image bentsolheim/distroless-java11-fontfail

Run with

docker run -it -p 8080:8080 bentsolheim/distroless-java11-fontfail

This should blow up on startup with an error.

If you adjust jib.from.image in build.gradle to something like openjdk:11.0.2-jdk-slim-stretch the application will start up successfully and you should be able to download the generated xls-file with

curl http://localhost:8080 -O -J

The example will probably run fine in your local ide.

About

Example application that demonstrates font issues with the distroless java 11 image


Languages

Language:Java 100.0%