Open JMdoubleU opened 1 year ago
I don't think we can make dockerBuildInit
work as designed. There's no way for us to know which init is compatible with the base image.
If there's anything actionable here it would be:
docker run --init
or build-time code similar to https://github.com/sbt/sbt-native-packager/issues/1257#issuecomment-881136279dockerBuildInit
option
Expected behavior
dockerBuildInit := true
should build an image withtini
as the entrypointActual behavior
Information
--init
is not and has never been an option fordocker build
- onlydocker run
.This is a duplicate of #1505 which was closed without any changes.