Created
June 18, 2018 23:04
-
-
Save skord/97718b3e89e3976575e17b888a0f1a22 to your computer and use it in GitHub Desktop.
maxscale dockerfile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM centos:7 | |
ENV MAXSCALE_VERSION=2.2.9 | |
ENV MAXSCALE_PKG_REV=1 | |
RUN yum install -y https://downloads.mariadb.com/MaxScale/${MAXSCALE_VERSION}/rhel/7/x86_64/maxscale-${MAXSCALE_VERSION}-${MAXSCALE_PKG_REV}.rhel.7.x86_64.rpm | |
RUN mkdir -p /tmp/maxadmin | |
CMD ["maxscale", "-f", "/etc/maxscale.cnf", "-l", "stdout", "-d", "-U", "root"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment