
The docker image now simply installs the latest MaxScale version instead of building it. This significantly reduces the amount of maintenance that the image requires. Updated the configurations to allow runtime definition of servers and updated README.md to reflect the changes in the files. Pointed links to 2.2 instead of develop. Removed text from the readme that was not strictly related to running the MaxScale image.
8 lines
266 B
Docker
8 lines
266 B
Docker
# Dockerfile for the 2.2 GA version of MariaDB MaxScale
|
|
FROM centos:7
|
|
|
|
RUN curl -sS https://downloads.mariadb.com/MariaDB/mariadb_repo_setup | bash && yum -y install maxscale
|
|
COPY ./maxscale.cnf /etc/
|
|
ENTRYPOINT ["maxscale", "-d", "-U", "maxscale"]
|
|
CMD ["-lstdout"]
|