Is it possible to add wget to the docker container? During using PAPERLESS_POST_CONSUME_SCRIPT it would be nice to send data to a local webserver for further processing.
I tried to use the following post-consume-script:
#!/usr/bin/env bash
if ! which wget >/dev/null ; then
echo "Installing wget ..."
apt-get install wget
fi
wget --output-document=/dev/stdout http://192.168.70.91:88/dms/public/consume/${DOCUMENT_ID}
This works in the console window but not if it is called by paperlessNGX, because in the last case wget will not be installed. Or is there a workaround?
I tried to use "apt install php8.3-soap" to add the soap client. But this module cannot be found. So I tried to add the repository "ppa:ondrej/php", but adding repositories is not possible in your docker image. What can I do?
However, the SOAP module is no longer included in the current version. I added the docker-php-ext-soap.ini file with appropriate content and it loads too, but obviously the soap.so module doesn't exist. SOAP is not displayed with phpinfo. Can this be added back?