Skip to content

Commit

Permalink
Bugfix for XE healthcheck (oracle#622)
Browse files Browse the repository at this point in the history
* Bugfix for XE healthcheck
  • Loading branch information
gvenzl authored and Djelibeybi committed Oct 30, 2017
1 parent 2c75e6a commit 87b988f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OracleDatabase/dockerfiles/11.2.0.2/Dockerfile.xe
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,6 @@ RUN yum -y install unzip libaio bc initscripts net-tools openssl && \
VOLUME ["$ORACLE_BASE/oradata"]
EXPOSE 1521 8080
HEALTHCHECK --interval=1m --start-period=5m \
CMD "$ORACLE_BASE/$CHECK_DB_FILE" >/dev/null || exit 1
CMD [ "su", "-p", "oracle", "-c", "$ORACLE_BASE/$CHECK_DB_FILE > /dev/null || exit 1" ]

CMD exec $ORACLE_BASE/$RUN_FILE

0 comments on commit 87b988f

Please sign in to comment.