Fix issue #116#118
Conversation
5337da8 to
e1e852a
Compare
|
ping @jperrin |
6b10dd6 to
14e25b9
Compare
|
@surajssd fyi |
| @@ -43,7 +47,7 @@ ADD passwd.template /tmp/rabbitmq/passwd.template | |||
| RUN chown -R rabbitmq:0 /tmp/rabbitmq && chmod -R ug+rwx /tmp/rabbitmq | |||
There was a problem hiding this comment.
Thanks will update, hopefully wont affect function.
ee89fc0 to
2a9bf23
Compare
| # Set permissions for openshift run | ||
| RUN chown -R 1001:0 /etc/rabbitmq && chown -R 1001:0 /var/lib/rabbitmq && chmod -R ug+rw /etc/rabbitmq && chmod -R ug+rw /var/lib/rabbitmq | ||
| RUN find /etc/rabbitmq -type d -exec chmod g+x {} + | ||
| RUN find /var/lib/rabbitmq -type d -exec chmod g+x {} + |
There was a problem hiding this comment.
can we reduce all those layers? I think most of these RUN statements can be clubbed into one or max two RUN statements?
There was a problem hiding this comment.
Will do updating
2a9bf23 to
bdff48a
Compare
|
@surajssd updated |
|
@mohammedzee1000 tried this out, works for me, LGTM! |
|
@mohammedzee1000 nit: maybe squash the commits :) |
|
@containscafeine Well there are no useless commits and ideally you dont want to squash unless there are intermediate commits directly related to something above them. Should i still squash? |
|
@mohammedzee1000 was just pointing out to keep the commit history better, but works either way. Just a nit. |
|
@mohammedzee1000 Usually commits should be atomic compared to the functionality they are supposed to fix/improve: here, the issue is that the container cannot work within Openshift and any of your commits properly addresses it showing your progresses w/ your own work and the advices/thoughts of the reviewers. BTW Keep up the good work 👍 😄. HTH, |
|
@mohammedzee1000 yes LGTM :) |
|
Ok squashing |
The run failed due to random uid runs on openshift. Added basic changes required to use nss_wrapper Fixed issue with erlang cookie creation by exporting home. Added volume mount and altered setup accordingly. Restructured install to be based on openshift image build practices. Updated readme with important information for debugging execs. Changed username based permission setting to user id based. Squashed multiple permission layers into 2. Cleaned up dockerfile and added more comments.
d95bf00 to
25c3bfb
Compare
|
Commits squashed @kbsingh good to merge |
| # Send the logs to stdout | ||
| ENV RABBITMQ_LOGS=- RABBITMQ_SASL_LOGS=- | ||
|
|
||
| VOLUME /var/lib/rabbitmq |
There was a problem hiding this comment.
@mohammedzee1000 please refer to #116 (comment), this does not fix the issue for me :(
This is a fix for the issue #116