Without this, the command will fail with:
/opt/openssl/bin/openssl: /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1: version `OPENSSL_1_1_1' not found (required by /opt/openssl/bin/openssl)
For context, see
2da98843a4 (commitcomment-31470432)
@tianon why are there so many instances of docker-entrypoint.sh?
Without this, the default container will fail to start:
docker run -it rabbitmq:3.7-rc-alpine
BOOT FAILED
===========
Config file generation failed 11:52:58.890 [error] You've tried to set management.listener.port, but there is no setting with that name.
11:52:58.890 [error] Did you mean one of these?
11:52:58.932 [error] inet_dist_listen_max
11:52:58.932 [error] inet_dist_listen_min
11:52:58.932 [error] listeners.ssl
11:52:58.932 [error] You've tried to set management.listener.ssl, but there is no setting with that name.
11:52:58.932 [error] Did you mean one of these?
11:52:58.972 [error] listeners.ssl
11:52:58.972 [error] inet_dist_listen_max
11:52:58.972 [error] inet_dist_listen_min
11:52:58.972 [error] Error generating configuration in phase transform_datatypes
11:52:58.972 [error] Conf file attempted to set unknown variable: management.listener.ssl
11:52:58.972 [error] Conf file attempted to set unknown variable: management.listener.port
BOOT FAILED
===========
Error description:
rabbit:start_it/1 line 465
rabbit:boot_error/2 line 871
rabbit_lager:log_locations/0 line 88
rabbit_lager:ensure_lager_configured/0 line 189
rabbit_lager:lager_configured/0 line 197
lager:list_all_sinks/0 line 328
lager_config:get/2 line 71
ets:lookup(lager_config, {'_global',handlers})
exit:generate_config_file
Log file(s) (may contain more information):
{"init terminating in do_boot",generate_config_file}
init terminating in do_boot (generate_config_file)
Crash dump is being written to: /var/log/rabbitmq/erl_crash.dump...done
@tianon I've left a few questions for you in the Dockerfile as TODOs.
A few highlighlights:
* I've added capture the way I build this image locally in the build script
* ha.pool.sks-keyservers.net is not as stable as pgpkeys.eu,
there are many unstable PGP keyservers https://sks-keyservers.net/status/
* GitHub SSL was failing in wget when grabbing gosu, curl is more reliable
* docker-entrypoint.sh fails if rabbitmq-plugins is not invoked with the -q flag,
a fix since 3.7.10 2da98843a4 (commitcomment-31470432)