From c8dc9cf577be6e3086d346bd6896b068e794ac4e0d62c85b2fc3591fa25201f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20=C4=8Cerm=C3=A1k?= Date: Mon, 18 Nov 2024 09:34:06 +0000 Subject: [PATCH] [info=ffb8e6a28641ef3bcbdf27b993761e91] OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/mariadb-image?expand=0&rev=178 --- Dockerfile | 4 ++-- README.md | 6 +++--- docker-entrypoint.sh | 2 +- mariadb-image.changes | 5 +++++ 4 files changed, 11 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9527e1b..822baf5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,7 +17,7 @@ #!BuildTag: opensuse/mariadb:%%mariadb_version%%-%RELEASE% #!BuildTag: opensuse/mariadb:%%mariadb_version%% -#!BuildTag: opensuse/mariadb:11.5 +#!BuildTag: opensuse/mariadb:11.6 #!BuildTag: opensuse/mariadb:latest FROM opensuse/tumbleweed:latest @@ -47,7 +47,7 @@ ENTRYPOINT ["docker-entrypoint.sh"] CMD ["mariadbd"] EXPOSE 3306/tcp # sanity check that the version from the tag is equal to the version of mariadb-client that we expect -RUN set -euo pipefail; [ "$(rpm -q --qf '%{version}' mariadb-client | cut -d '.' -f -2)" = "11.5" ] +RUN set -euo pipefail; [ "$(rpm -q --qf '%{version}' mariadb-client | cut -d '.' -f -2)" = "11.6" ] RUN set -euo pipefail; mkdir /docker-entrypoint-initdb.d diff --git a/README.md b/README.md index fb1bee6..76efc1f 100644 --- a/README.md +++ b/README.md @@ -12,13 +12,13 @@ By default, the image launches MariaDB with the same configuration that comes wi The only environment variable required to start the container is the MariaDB root password. ```ShellSession -$ podman run -it --rm -p 3306:3306 -e MARIADB_ROOT_PASSWORD=my-password registry.opensuse.org/opensuse/mariadb:11.5 +$ podman run -it --rm -p 3306:3306 -e MARIADB_ROOT_PASSWORD=my-password registry.opensuse.org/opensuse/mariadb:11.6 ``` or: ```ShellSession -$ podman run -it --rm -p 3306:3306 -e MARIADB_ALLOW_EMPTY_ROOT_PASSWORD=1 registry.opensuse.org/opensuse/mariadb:11.5 +$ podman run -it --rm -p 3306:3306 -e MARIADB_ALLOW_EMPTY_ROOT_PASSWORD=1 registry.opensuse.org/opensuse/mariadb:11.6 ``` ### Volumes @@ -33,7 +33,7 @@ When using the MariaDB image, we recommend one of the following options: To mount a host directory as a volume for your data run the following command: ```ShellSession -$ podman run -it --rm -v /my/own/datadir:/var/lib/mysql:Z -p 3306:3306 -e MARIADB_ROOT_PASSWORD=my-password registry.opensuse.org/opensuse/mariadb:11.5 +$ podman run -it --rm -v /my/own/datadir:/var/lib/mysql:Z -p 3306:3306 -e MARIADB_ROOT_PASSWORD=my-password registry.opensuse.org/opensuse/mariadb:11.6 ``` The `-v /my/own/datadir:/var/lib/mysql:Z` part of the command mounts the `/my/own/datadir` directory from the underlying host system as `/var/lib/mysql` inside the container, where MariaDB will by default write its data files. diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 1d9e599..4947028 100644 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -225,7 +225,7 @@ docker_create_db_directories() { } _mariadb_version() { - echo -n "11.4.4-MariaDB" + echo -n "%%mariadb_version%%-MariaDB" } # initializes the database directory diff --git a/mariadb-image.changes b/mariadb-image.changes index a4d8487..f0e4419 100644 --- a/mariadb-image.changes +++ b/mariadb-image.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Nov 18 09:27:58 UTC 2024 - SUSE Update Bot + +- update to 11.6 mariadb + ------------------------------------------------------------------- Tue Nov 12 15:34:21 UTC 2024 - SUSE Update Bot