diff --git a/Dockerfile b/Dockerfile index ab23f3d..2edb721 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=$BUILDPLATFORM alpine:3.17.4 as build +FROM --platform=$BUILDPLATFORM alpine:3.17.5 as build ARG TARGETPLATFORM ARG VERSION=0.0.0 @@ -22,7 +22,7 @@ RUN set -ex; \ chmod +x /usr/local/bin/enve; \ true -FROM alpine:3.17.4 +FROM alpine:3.17.5 ARG VERSION=0.0.0 ENV VERSION=${VERSION} diff --git a/README.md b/README.md index d559a5b..72c9ebc 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ docker run -it --rm joseluisq/alpine-mysql-client mysql --version - Default user (unprivileged) is `mysql`. - `mysql` home directory is located at `/home/mysql`. -- If you want a fully privileged user try `root`. E.g append a `--user root` argument to `docker run`. +- If you want a fully privileged user try `root`. E.g. append a `--user root` argument to `docker run`. ## Additional Tools @@ -51,7 +51,7 @@ This image comes with some additional tools. ### Exporter -`mysql_exporter` is a custom tool that exports a database script using `mysqldump`. Additionally it supports gzip compression. +`mysql_exporter` is a custom tool that exports a database script using `mysqldump`. Additionally, it supports gzip compression. It can be configured via environment variables or using `.env` file. #### Setup via environment variables @@ -136,7 +136,7 @@ services: ### Importer -`mysql_importer` is a custom tool which imports a SQL script file (text or Gzip) using `mysql` command. +`mysql_importer` is a custom tool that imports a SQL script file (text or Gzip) using `mysql` command. It can be configured via environment variables or using `.env` file. #### Setup via environment variables @@ -166,7 +166,7 @@ DB_ARGS= #### Import a SQL script via a Docker container -The following Docker commands create a container to import a SQL script file to a specific database and remove the container afterward. +The following Docker commands create a container to import an SQL script file to a specific database and remove the container afterward. **Note:** `mysql_importer` supports environment variables or a `.env` file passed as an argument.