Skip to content

Commit 0787b02

Browse files
committed
v8.0.41
- debian 12.9-slim - mysql 8.0.41
1 parent 65c8fa1 commit 0787b02

File tree

3 files changed

+20
-16
lines changed

3 files changed

+20
-16
lines changed

8.0/Dockerfile

+16-12
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# NOTE: Most of the file is borrowed from https://github.com/docker-library/mysql/blob/master/8.0/Dockerfile.debian
22

3-
FROM debian:12.7-slim
3+
FROM debian:12.9-slim
44

55
ARG VERSION=0.0.0
66
ENV VERSION=${VERSION}
@@ -51,6 +51,7 @@ RUN set -eux \
5151
RUN set -eux \
5252
&& DEBIAN_FRONTEND=noninteractive apt-get update -qq \
5353
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --no-install-recommends \
54+
bzip2 \
5455
openssl \
5556
# FATAL ERROR: please install the following Perl modules before executing /usr/local/mysql/scripts/mysql_install_db:
5657
# File::Basename
@@ -63,21 +64,24 @@ RUN set -eux \
6364
&& rm -rf /var/lib/apt/lists/* \
6465
&& true
6566

66-
RUN set -eux \
67-
# gpg: key 3A79BD29: public key "MySQL Release Engineering <[email protected]>" imported
68-
&& key='bca43417c3b485dd128ec6d4b7b3b788a8d3785c' \
69-
&& export GNUPGHOME="$(mktemp -d)" \
70-
&& gpg --batch --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys "$key" \
71-
&& mkdir -p /etc/apt/keyrings \
72-
&& gpg --batch --export "$key" > /etc/apt/keyrings/mysql.gpg \
73-
&& gpgconf --kill all \
74-
&& rm -rf "$GNUPGHOME" \
67+
RUN set -eux; \
68+
# pub rsa4096 2023-10-23 [SC] [expires: 2025-10-22]
69+
# BCA4 3417 C3B4 85DD 128E C6D4 B7B3 B788 A8D3 785C
70+
# uid [ unknown] MySQL Release Engineering <[email protected]>
71+
# sub rsa4096 2023-10-23 [E] [expires: 2025-10-22]
72+
key='BCA4 3417 C3B4 85DD 128E C6D4 B7B3 B788 A8D3 785C'; \
73+
export GNUPGHOME="$(mktemp -d)"; \
74+
gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; \
75+
mkdir -p /etc/apt/keyrings; \
76+
gpg --batch --export "$key" > /etc/apt/keyrings/mysql.gpg; \
77+
gpgconf --kill all; \
78+
rm -rf "$GNUPGHOME" \
7579
&& true
7680

7781
ENV MYSQL_MAJOR 8.0
78-
ENV MYSQL_VERSION 8.0.39-1debian12
82+
ENV MYSQL_VERSION 8.0.41-1debian12
7983

80-
# https://repo.mysql.com/apt/debian/pool/mysql-8.0/m/mysql-community/mysql-client_8.0.39-1debian12_amd64.deb
84+
# https://repo.mysql.com/apt/debian/pool/mysql-8.0/m/mysql-community/mysql-client_8.0.41-1debian12_amd64.deb
8185
RUN set -eux \
8286
&& 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 \
8387
&& true

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
build:
2-
@docker buildx build --platform='linux/amd64' -t mysql-client:latest -f 8.0/Dockerfile .
2+
@docker build -t mysql-client:latest -f 8.0/Dockerfile .
33
.PHONY: build
44

55
HOME_USER ?= $(shell echo $$(id -u $$USER):$$(id -g $$USER))

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ For more details see the official [MySQL 8 Client Programs](https://dev.mysql.co
3434

3535
```sh
3636
docker run -it --rm joseluisq/mysql-client mysql --version
37-
# mysql Ver 8.0.39 for Linux on x86_64 (MySQL Community Server - GPL)
37+
# mysql Ver 8.0.41 for Linux on x86_64 (MySQL Community Server - GPL)
3838
```
3939

4040
## User privileges
@@ -95,7 +95,7 @@ docker run --rm -it \
9595

9696
# MySQL 8 Client - Exporter
9797
# =========================
98-
# mysqldump Ver 8.0.39 for Linux on x86_64 (MySQL Community Server - GPL)
98+
# mysqldump Ver 8.0.41 for Linux on x86_64 (MySQL Community Server - GPL)
9999

100100
# Exporting database `mydb` into a SQL script file...
101101
# Output file: database_name.sql (SQL Text)
@@ -176,7 +176,7 @@ docker run --rm -it \
176176

177177
# MySQL 8 Client - Importer
178178
# =========================
179-
# mysql Ver 8.0.39 for Linux on x86_64 (MySQL Community Server - GPL)
179+
# mysql Ver 8.0.41 for Linux on x86_64 (MySQL Community Server - GPL)
180180

181181
# Importing a SQL script file into database `mydb`...
182182
# Input file: database_name.sql (4.0K / SQL Text)

0 commit comments

Comments
 (0)