I have downloaded and loaded intersystems/webgateway:2022.1.2.574.0 and started a container with
docker run -p 80:80 --name webgateway -d intersystems/webgateway:2022.1.2.574.0
but apache doesn't want to start.
docker log has:
[INFO] ISC_DATA_DIRECTORY:
[INFO] ISC_CSP_INI_FILE:
[INFO] ISC_CSP_CONF_FILE:
[INFO] Initializing server
[INFO] Configuring filesystem...
[INFO] ISC_DATA_DIRECTORY is undefined. Files will not be moved to a persistent volume
[INFO] Using default /opt/webgateway/bin/CSP.ini
[INFO] Using default /etc/apache2/mods-available/CSP.conf
[INFO] ...done configuring filesystem
[INFO] Configuring httpd...
[INFO] Using hostname 9db54f43617d
* Restarting Apache httpd web server apache2
Output of config test was:
...fail!
* The apache2 configtest failed.
apache2: Syntax error on line 146 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/CSP.load: Cannot load /opt/webgateway/bin/CSPa24.so into server: libcrypto.so.3: cannot open shared object file: No such file or directory
How would I go about creating an image using a Dockerfile that is based on one of these images? How can I get the docker build to include the --check-cap false?
I got this image from WRC not containers.intersystems.com. Don't know if that makes a difference or not. Also I see the file /opt/webgateway/bin/CSPa24.so so I guess the problem is libcrypto.so.3: cannot open shared object file: No such file or directory. But I don't know how it relates to apache.