Sign inSign up

greatsql/greatsql_shell_build

By greatsql

Updated 11 months ago

Build MySQL Shell for GreatSQL in Docker

Image
Databases & storage
0

434

greatsql/greatsql_shell_build repository overview

Description

Build MySQL Shell for GreatSQL in Docker

Quick reference

Supported tags

How to use this image

Starting a new container to build MySQL Shell for GreatSQL:

$ docker run -itd --hostname greatsqlsh --name greatsqlsh greatsql/greatsql_shell_build bash
...
$ docker logs greatsqlsh
1. extracting tarballs
2. compiling antlr4
3. compiling antlr4
4. compiling rpcsvc-proto
5. compiling protobuf
6. compiling greatsql shell
/opt/greatsql-shell-8.0.32-25-centos-glibc2.28-x86_64/bin/mysqlsh   Ver 8.0.32 for Linux on x86_64 - for MySQL 8.0.32 (Source distribution)
7. MySQL Shell 8.0.32-25 for GreatSQL build completed! TARBALL is:
-rw-r--r-- 1 root root 20343832 Jan 20 21:41 greatsql-shell-8.0.32-25-centos-glibc2.28-x86_64.tar.xz

It seems to have been completed.

Copy MySQL Shell for GreatSQL tarball to host machine, and run it:

$ docker cp mysqlsh:/opt/greatsql-shell-8.0.32-25-centos-glibc2.28-x86_64.tar.xz /usr/local/
$ tar xf /usr/local/greatsql-shell-8.0.32-25-centos-glibc2.28-x86_64.tar.xz -C /usr/local
$ /usr/local/greatsql-shell-8.0.32-25-centos-glibc2.28-x86_64/bin/mysqlsh
MySQL Shell 8.0.32
...
Type '\help' or '\?' for help; '\quit' to exit.
 MySQL  Py > \q
Bye!

It works.

Tag summary

Content type

Image

Digest

sha256:581343553

Size

185.5 MB

Last updated

11 months ago

docker pull greatsql/greatsql_shell_build