thought this little change may be interesting for you as well. The Dockerfile detects the required runtime dependencies automatically and installs them in the runtime stage. This change only affects METHOD=direct.
libcap2 and tini can't be auto-detected. libcap2 has been renamed in Alpine version 3.17, hence the Dockerfile is not compatible with Alpine versions <3.17
I have tested it on my machine without any obvious errors, but it would be great if you could check the build result as well if you consider to merge it. We could adapt this also in processone/docker-ejabberd.
Coverage: 33.131% (+0.002%) from 33.128% when pulling b2107e5abb85fd5835d9014962e9d7e2826e61e4 on sando38:master into 99e51a2123fb92facbcd11009f23a80189dd5356 on processone:master.
Hi @badlop
thought this little change may be interesting for you as well. The Dockerfile detects the required runtime dependencies automatically and installs them in the runtime stage. This change only affects
METHOD=direct
.libcap2 and tini can't be auto-detected. libcap2 has been renamed in Alpine version 3.17, hence the Dockerfile is not compatible with Alpine versions <3.17
I have tested it on my machine without any obvious errors, but it would be great if you could check the build result as well if you consider to merge it. We could adapt this also in
processone/docker-ejabberd
.Thanks and best regards!