File tree 4 files changed +4
-7
lines changed
4 files changed +4
-7
lines changed Original file line number Diff line number Diff line change 1
1
.env
2
2
.envrc
3
+ test /.envrc
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- # docker buildx build --platform linux/amd64 -t mysqlshell:8.0.29 . --load
2
-
3
1
FROM oraclelinux:7-slim
4
2
5
- ARG KEY=https://repo.mysql.com/RPM-GPG-KEY-mysql
6
- ARG MYSQL_SHELL_PACKAGE_URL="https://dev.mysql.com/get/mysql80-community-release-el7-8.noarch.rpm"
3
+ ARG MYSQL_SHELL_PACKAGER_URL="https://dev.mysql.com/get/Downloads/MySQL-Shell/mysql-shell-8.1.0-1.el7.x86_64.rpm"
7
4
8
5
COPY run.sh /run.sh
9
6
RUN chmod +x /run.sh
10
7
11
8
COPY setupCluster.js /setupCluster.js
12
9
13
- RUN rpmkeys --import $KEY \
14
- && yum install -y $MYSQL_SHELL_PACKAGE_URL \
10
+ RUN yum install -y $MYSQL_SHELL_PACKAGER_URL \
15
11
&& yum clean all
16
12
17
13
ENTRYPOINT ["/run.sh" ]
Original file line number Diff line number Diff line change 2
2
set -e
3
3
4
4
if [ " $1 " = ' mysqlsh' ]; then
5
+ mysqlsh --version
5
6
6
7
if [[ -z $MYSQL_HOST || -z $MYSQL_PORT || -z $MYSQL_USER || -z $MYSQL_PASSWORD ]]; then
7
8
echo " We require all of"
You can’t perform that action at this time.
0 commit comments