-
Notifications
You must be signed in to change notification settings - Fork 20
Fix to allow environment based RABBITMQ_DEFAULT_USER/RABBITMQ_DEFAULT_PASS #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
pod cannot start when attempting to run in openshift with RABBITMQ_DEFAULT_USER and RABBITMQ_DEFAULT_PASS environment variables. ``` /usr/local/bin/docker-entrypoint.sh: line 263: /etc/rabbitmq/rabbitmq.config: Permission denied ``` this will ensure ability of any --user to change /etc/rabbitmq/rabbitmq.config
if [PR from master to upstream](luiscoms#3) is accepted, this will no longer be needed
I have the same issue, please merge it :-) |
Since I needed this fix right now I build @dmlond Docker file and pushed the image to |
@@ -4,7 +4,7 @@ MAINTAINER Luis Fernando Gomes <[email protected]> | |||
|
|||
ENV ERLANG_SOLUTIONS_VERSION 1.0-1 | |||
RUN yum update -y && yum clean all | |||
RUN yum install -y wget && yum clean all | |||
RUN yum install -y wget epel-release && yum clean all |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Which version will be installed on this repository?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure. I was not able to get the build to work without installing epel-release. You might be able to get yours to work without that specific change. The most relevant change is commit 41624fd
I can confirm that @AuHau image is working. I do not know if the I´d really like to use the image, but then I will need the user/pwd env settings working. I can provide a separate PR for adding the |
I have the same problem. Also,
|
when I run
with rabbitmq.env
Openshift cannot run the pod
This PR changes the permissions on /etc/rabbitmq/rabbitmq.config in the Dockerfile to allow this to work (I tested this by deploying my fork git repo and it works)