Run chk commands as mqm
This commit is contained in:
@@ -3,6 +3,7 @@
|
|||||||
## master
|
## master
|
||||||
* MQ error logs (in JSON or plain text) are now mirrored on stdout for the container.
|
* MQ error logs (in JSON or plain text) are now mirrored on stdout for the container.
|
||||||
* `chkmqready` now waits until MQSC scripts in `/etc/mqm` have been applied
|
* `chkmqready` now waits until MQSC scripts in `/etc/mqm` have been applied
|
||||||
|
* `chkmqready` and `chkmqhealthy` now run as the "mqm" user
|
||||||
* Added ability to optionally use an alternative base image
|
* Added ability to optionally use an alternative base image
|
||||||
* Various build and test improvements
|
* Various build and test improvements
|
||||||
|
|
||||||
|
|||||||
@@ -56,8 +56,9 @@ COPY --from=builder /go/src/github.com/ibm-messaging/mq-container/runmqserver /u
|
|||||||
COPY --from=builder /go/src/github.com/ibm-messaging/mq-container/chkmq* /usr/local/bin/
|
COPY --from=builder /go/src/github.com/ibm-messaging/mq-container/chkmq* /usr/local/bin/
|
||||||
COPY NOTICES.txt /opt/mqm/licenses/notices-container.txt
|
COPY NOTICES.txt /opt/mqm/licenses/notices-container.txt
|
||||||
|
|
||||||
RUN chmod +x /usr/local/bin/runmqserver \
|
RUN chmod ug+x /usr/local/bin/runmqserver \
|
||||||
&& chmod +x /usr/local/bin/chkmq*
|
&& chown mqm:mqm /usr/local/bin/*mq* \
|
||||||
|
&& chmod ug+xs /usr/local/bin/chkmq*
|
||||||
|
|
||||||
# Always use port 1414
|
# Always use port 1414
|
||||||
EXPOSE 1414
|
EXPOSE 1414
|
||||||
|
|||||||
Reference in New Issue
Block a user