Skip to content

Commit e7001eb

Browse files
committed
v8.0.35
- debian 11.8 - mysql 8.0.35 - gosu 1.17
1 parent c8e9bd0 commit e7001eb

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

8.0/Dockerfile

Lines changed: 4 additions & 4 deletions
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:11.7-slim
3+
FROM debian:11.8-slim
44

55
ARG VERSION=0.0.0
66
ENV VERSION=${VERSION}
@@ -23,7 +23,7 @@ RUN set -eux \
2323

2424
# add gosu for easy step-down from root
2525
# https://github.com/tianon/gosu/releases
26-
ENV GOSU_VERSION 1.16
26+
ENV GOSU_VERSION 1.17
2727

2828
RUN set -eux \
2929
&& savedAptMark="$(apt-mark showmanual)" \
@@ -75,9 +75,9 @@ RUN set -eux \
7575
&& true
7676

7777
ENV MYSQL_MAJOR 8.0
78-
ENV MYSQL_VERSION 8.0.34-1debian11
78+
ENV MYSQL_VERSION 8.0.35-1debian11
7979

80-
# https://repo.mysql.com/apt/debian/pool/mysql-8.0/m/mysql-community/mysql-client_8.0.34-1debian11_amd64.deb
80+
# https://repo.mysql.com/apt/debian/pool/mysql-8.0/m/mysql-community/mysql-client_8.0.35-1debian11_amd64.deb
8181
RUN set -eux \
8282
&& 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 \
8383
&& true

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
build:
2-
@docker build -t mysql-client:latest -f 8.0/Dockerfile .
2+
@docker buildx build --platform='linux/amd64' -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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ docker run -it --rm joseluisq/mysql-client mysql --version
4040

4141
- The default user (unprivileged) is `mysql`.
4242
- `mysql` home directory is located at `/home/mysql`.
43-
- If you want a fully privileged user try `root`. E.g append a `--user root` argument to `docker run`.
43+
- If you want a fully privileged user try `root`. E.g. append a `--user root` argument to `docker run`.
4444

4545
## Exporter
4646

@@ -105,7 +105,7 @@ docker run --rm -it \
105105

106106
__Notes:__
107107

108-
- `--volume $PWD:/home/mysql/sample` specifies a [bind mount [directory](https://docs.docker.com/storage/bind-mounts/) from the host to the container.
108+
- `--volume $PWD:/home/mysql/sample` specifies a bind mount [directory](https://docs.docker.com/storage/bind-mounts/) from the host to the container.
109109
- `$PWD` is just an example host working directory. Use your path.
110110
- `/home/mysql/` is the default home directory user (optional). View the [User privileges](#user-privileges) section above.
111111
- `/home/mysql/sample` is a container directory that Docker will create for us.
@@ -161,7 +161,7 @@ DB_ARGS=
161161

162162
### Import a SQL script via a Docker container
163163

164-
The following Docker commands create a container to import a SQL script file to a specific database and remove the container afterward.
164+
The following Docker commands create a container to import an SQL script file to a specific database and remove the container afterward.
165165

166166
Note that `mysql_importer` supports environment variables or a `.env` file can be passed as an argument.
167167

0 commit comments

Comments
 (0)