keycloak-scim/testsuite/performance/db/mariadb/Dockerfile

12 lines
366 B
Text
Raw Normal View History

2017-07-13 18:25:26 +00:00
FROM mariadb:10.3
ADD wsrep.cnf /etc/mysql/conf.d/
ADD mariadb-healthcheck.sh /usr/local/bin/
RUN chmod -v +x /usr/local/bin/mariadb-healthcheck.sh
HEALTHCHECK --interval=5s --timeout=5s --retries=12 CMD ["mariadb-healthcheck.sh"]
ENV DATADIR /var/lib/mysql
ADD docker-entrypoint-wsrep.sh /usr/local/bin/
RUN chmod -v +x /usr/local/bin/docker-entrypoint-wsrep.sh