File: Dockerfile

package info (click to toggle)
golang-github-rluisr-mysqlrouter-go 1.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 264 kB
  • sloc: sh: 215; javascript: 15; makefile: 11
file content (14 lines) | stat: -rw-r--r-- 244 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
FROM oraclelinux:7-slim

ARG MYSQL_SHELL_PACKAGER_URL

COPY run.sh /run.sh
RUN chmod +x /run.sh

COPY setupCluster.js /setupCluster.js

RUN yum install -y $MYSQL_SHELL_PACKAGER_URL \
    && yum clean all

ENTRYPOINT ["/run.sh"]
CMD ["mysqlsh"]