Skip to content

Commit

Permalink
v8.0.36
Browse files Browse the repository at this point in the history
- debian 12.5-slim
- enve 1.5.0
  • Loading branch information
joseluisq committed Feb 28, 2024
1 parent e7001eb commit 13086f3
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 15 deletions.
12 changes: 6 additions & 6 deletions 8.0/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# NOTE: Most of the file is borrowed from https://github.com/docker-library/mysql/blob/master/8.0/Dockerfile.debian

FROM debian:11.8-slim
FROM debian:12.5-slim

ARG VERSION=0.0.0
ENV VERSION=${VERSION}
Expand Down Expand Up @@ -65,7 +65,7 @@ RUN set -eux \

RUN set -eux \
# gpg: key 3A79BD29: public key "MySQL Release Engineering <mysql-build@oss.oracle.com>" imported
&& key='859BE8D7C586F538430B19C2467B942D3A79BD29' \
&& key='bca43417c3b485dd128ec6d4b7b3b788a8d3785c' \
&& export GNUPGHOME="$(mktemp -d)" \
&& gpg --batch --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys "$key" \
&& mkdir -p /etc/apt/keyrings \
Expand All @@ -75,11 +75,11 @@ RUN set -eux \
&& true

ENV MYSQL_MAJOR 8.0
ENV MYSQL_VERSION 8.0.35-1debian11
ENV MYSQL_VERSION 8.0.36-1debian12

# https://repo.mysql.com/apt/debian/pool/mysql-8.0/m/mysql-community/mysql-client_8.0.35-1debian11_amd64.deb
# https://repo.mysql.com/apt/debian/pool/mysql-8.0/m/mysql-community/mysql-client_8.0.36-1debian12_amd64.deb
RUN set -eux \
&& echo 'deb [ signed-by=/etc/apt/keyrings/mysql.gpg ] http://repo.mysql.com/apt/debian/ bullseye mysql-8.0' > /etc/apt/sources.list.d/mysql.list \
&& echo 'deb [ signed-by=/etc/apt/keyrings/mysql.gpg ] http://repo.mysql.com/apt/debian/ bookworm mysql-8.0' > /etc/apt/sources.list.d/mysql.list \
&& true

# the "/var/lib/mysql" stuff here is because the mysql-server postinst doesn't have an explicit way to disable the mysql_install_db codepath besides having a database already "configured" (ie, stuff in /var/lib/mysql/mysql)
Expand All @@ -99,7 +99,7 @@ RUN set -eux \
&& true

# Include the Enve tool
ARG ENVE_VERSION=1.4.1
ARG ENVE_VERSION=1.5.0

RUN set -eux \
&& DEBIAN_FRONTEND=noninteractive apt-get update -qq \
Expand Down
19 changes: 10 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

> [MySQL 8 client](https://dev.mysql.com/doc/refman/8.0/en/programs-client.html) for export and import databases easily using Docker.
This is a __Linux Docker image__ using the latest __Debian [11-slim](https://hub.docker.com/_/debian?tab=tags&page=1&name=11-slim)__ ([Bullseye](https://www.debian.org/News/2021/20210814)).
This is a __Linux Docker image__ using the latest __Debian [12-slim](https://hub.docker.com/_/debian/tags?page=1&name=12-slim)__ ([Bookworm](https://www.debian.org/News/2023/20230610)).

_**Note:** If you are looking for a **MariaDB Client** then go to [Alpine MySQL Client](https://github.com/joseluisq/alpine-mysql-client) project._

Expand All @@ -13,18 +13,19 @@ _**Note:** If you are looking for a **MariaDB Client** then go to [Alpine MySQL
## MySQL 8 Client programs

```sh
myisam_ftdump
mysql
mysql_find_rows
mysql_waitpid
mysql_config_editor
mysql_exporter
mysql_importer
mysqladmin
mysqldump
mysqlimport
mysql-export
mysql_fix_extensions
mysqlaccess
mysqlcheck
mysqldump
mysqldumpslow
mysqlimport
mysqlpump
mysqlshow
mysqlslap
```

For more details see the official [MySQL 8 Client Programs](https://dev.mysql.com/doc/refman/8.0/en/programs-client.html) documentation.
Expand All @@ -33,7 +34,7 @@ For more details see the official [MySQL 8 Client Programs](https://dev.mysql.co

```sh
docker run -it --rm joseluisq/mysql-client mysql --version
# mysql Ver 8.0.28 for Linux on x86_64 (MySQL Community Server - GPL)
# mysql Ver 8.0.36 for Linux on x86_64 (MySQL Community Server - GPL)
```

## User privileges
Expand Down

0 comments on commit 13086f3

Please sign in to comment.