This article is no longer applicable since Deepfactor 2.1. Issues identified below can be resolved by upgrading to Deepfactor 2.1.0 or greater.
When building with Deepfactor 2.0 or older Dockerfile.alpine.df or deploying an Alpine image with Deepfactor’s mutating webhook, you may encounter the following error messages.
Please apply the following fixes to remediate the errors.
Dockerfile.alpine.df build error message and fix:
Error, DeepFactor dependency fix for openjdk11 not met and cannot be installed.
Please try 'apk add libstdc++' as root
Deepfactor Kubernetes webhook deployment error message and fix:
Error, DeepFactor dependency not met. Please either:
- add 'apk add libstdc++' to image AFTER openjdk11 (musl) install
- add the following annotation and LD_LIBRARY_PATH to your deployment .yaml
#df.k8-app.multilibc: "auto" # multi libc not supported with LD_LIBRARY_PATH
- name: LD_LIBRARY_PATH