Repository navigation
Replies: 2 comments
|
Additional investigation & testing on this has revealed that FIPS being enabled is likely causing things to explode here. On a brand new test machine with virtually no configuration or additional measures taken, the build succeeds. Implementing some basic security configs (including enabling FIPS) reproduces the error noted above. Upon disabling FIPS and rebooting, then re-testing the build, it succeeded again. |
|
Modifying the build file to include Current Dockerfile: Build output: In short: it seems that building a production ready optimized image on a FIPS enabled system is broken unless one disables FIPS. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Attempting to build an optimized Keycloak 21.0.1 image for MariaDB, it fails with an "NSS initialization failed" message. We originally encountered this via our GitLab pipeline doing the build. I have reproduced this in a stand-alone setup outside of that though, with the same results. My stand-alone reproduction was using the exact call provided in the Keycloak documentation for building an optimized image (located here: https://www.keycloak.org/server/containers). This exact same process worked for versions up to the Keycloak version 20.0.5 container image.
This reproduction was done with CentOS Stream 8 (fully patched), using podman version 4.3.1.
Dockerfile:
The build call & output we observe:
Has anyone else observed this? Or is there something different we should be doing?
All reactions