Skip to content

Commit e31d688

Browse files
committed
v1.6.1
- alpine 3.17.4
1 parent 82ef615 commit e31d688

File tree

3 files changed

+16
-16
lines changed

3 files changed

+16
-16
lines changed

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM --platform=$BUILDPLATFORM alpine:3.17.3 as build
1+
FROM --platform=$BUILDPLATFORM alpine:3.17.4 as build
22

33
ARG TARGETPLATFORM
44
ARG VERSION=0.0.0
@@ -22,7 +22,7 @@ RUN set -ex; \
2222
chmod +x /usr/local/bin/enve; \
2323
true
2424

25-
FROM alpine:3.17.3
25+
FROM alpine:3.17.4
2626

2727
ARG VERSION=0.0.0
2828
ENV VERSION=${VERSION}

LICENSE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2020-present Jose Quintana <https://git.io/joseluisq>
3+
Copyright (c) 2020-present Jose Quintana <joseluisq.net>
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy of
66
this software and associated documentation files (the "Software"), to deal in

README.md

+13-13
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,15 @@ docker run -it --rm joseluisq/alpine-mysql-client mysql --version
4343

4444
- Default user (unprivileged) is `mysql`.
4545
- `mysql` home directory is located at `/home/mysql`.
46-
- If you want a full privileged user try `root`. E.g append a `--user root` argument to `docker run`.
46+
- If you want a fully privileged user try `root`. E.g append a `--user root` argument to `docker run`.
4747

4848
## Additional Tools
4949

5050
This image comes with some additional tools.
5151

5252
### Exporter
5353

54-
`mysql_exporter` is a custom tool which exports a database script using `mysqldump`. Additionally it support gzip compression.
54+
`mysql_exporter` is a custom tool that exports a database script using `mysqldump`. Additionally it supports gzip compression.
5555
It can be configured via environment variables or using `.env` file.
5656

5757
#### Setup via environment variables
@@ -81,15 +81,15 @@ DB_ARGS=
8181

8282
**Notes:**
8383

84-
- `DB_EXPORT_GZIP=true`: Compress the sql file using Gzip (optional). If `false` or not defined then the exported file will be a `.sql` file.
85-
- `DB_ARGS`: can be used in order to pass more `mysqldump` arguments (optional).
86-
- An `.env` example file can be found at [./mysql_exporter.env](./mysql_exporter.env)
84+
- `DB_EXPORT_GZIP=true`: Compress the SQL file using Gzip (optional). If `false` or not defined then the exported file will be a `.sql` file.
85+
- `DB_ARGS`: can be used to pass more `mysqldump` arguments (optional).
86+
- A `.env` example file can be found at [./mysql_exporter.env](./mysql_exporter.env)
8787

8888
#### Export a database using a Docker container
8989

90-
The following Docker commands create a container in order to export a database and then remove such container automatically.
90+
The following Docker commands create a container to export a database and then remove such container automatically.
9191

92-
**Note:** `mysql_exporter` supports enviroment variables or a `.env` file passed as argument.
92+
**Note:** `mysql_exporter` supports environment variables or a `.env` file passed as an argument.
9393

9494
```sh
9595
docker run --rm -it \
@@ -112,9 +112,9 @@ __Notes:__
112112

113113
- `--volume $PWD:/home/mysql/sample` specificy a [bind mount directory](https://docs.docker.com/storage/bind-mounts/) from host to container.
114114
- `$PWD` is just my host working directory. Use your own path.
115-
- `/home/mysql/` is default home directory user (optional). View [User privileges](#user-privileges) section above.
115+
- `/home/mysql/` is the default home directory user (optional). View [User privileges](#user-privileges) section above.
116116
- `/home/mysql/sample` is a container directory that Docker will create for us.
117-
- `--workdir /home/mysql/sample` specificy the working directory used by default inside the container.
117+
- `--workdir /home/mysql/sample` specificies the working directory used by default inside the container.
118118
- `production.env` is a custom env file path with the corresponding environment variables passed as argument. That file shoud available in your host working directory. E.g `$PWD` in my case.
119119

120120
#### Export a database using a Docker Compose file
@@ -166,9 +166,9 @@ DB_ARGS=
166166

167167
#### Import a SQL script via a Docker container
168168

169-
The following Docker commands create a container in order to import a SQL script file to an specific database and removing the container afterwards.
169+
The following Docker commands create a container to import a SQL script file to a specific database and remove the container afterward.
170170

171-
**Note:** `mysql_importer` supports enviroment variables or a `.env` file passed as argument.
171+
**Note:** `mysql_importer` supports environment variables or a `.env` file passed as an argument.
172172

173173
```sh
174174
docker run --rm -it \
@@ -188,10 +188,10 @@ docker run --rm -it \
188188

189189
## Contributions
190190

191-
Feel free to send a [pull request](https://github.com/joseluisq/alpine-mysql-client/pulls) or file some [issue](https://github.com/joseluisq/alpine-mysql-client/issues).
191+
Feel free to send a [pull request](https://github.com/joseluisq/alpine-mysql-client/pulls) or file some [issues](https://github.com/joseluisq/alpine-mysql-client/issues).
192192

193193
## License
194194

195195
MIT license
196196

197-
© 2020-present [Jose Quintana](https://git.io/joseluisq)
197+
© 2020-present [Jose Quintana](https://joseluisq.net)

0 commit comments

Comments
 (0)