Zeke Rogers created ARTEMIS-2776:
------------------------------------
Summary: Dockerfile Improvements
Key: ARTEMIS-2776
URL: https://issues.apache.org/jira/browse/ARTEMIS-2776
Project: ActiveMQ Artemis
Issue Type: Improvement
Environment: Windows 10 running scripts in WSL
Reporter: Zeke Rogers
The current Dockerfiles for Ubuntu and CentOS contain an environment variable
ANONYMOUS_LOGIN that is not actually being used, resulting in anonymous logins
always being allowed.
In addition, the options "--http-host 0.0.0.0 --relax-jolokia" are included by
default, and overriding them would also require putting the username and
password in the entire CREATE_ARGUMENTS environment variable, making the
previous ARTEMIS_USER and ARTEMIS_PASSWORD variables moot.
This could be made easier to add extra options without having to re-specify the
username and the password. This is especially true in environments where a
secrets file may be used for usernames/passwords (such as Kubernetes) but the
rest of the args can be in plain text. In this scenario, having the username
and password as separate envrionment variables from the other arguments is very
beneficial.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)