Accepting request 1224851 from devel:BCI:Tumbleweed
🤖: sync package with devel:BCI:Tumbleweed from OBS OBS-URL: https://build.opensuse.org/request/show/1224851 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mariadb-image?expand=0&rev=43
This commit is contained in:
commit
461deef316
@ -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
|
||||
|
||||
|
@ -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.
|
||||
|
@ -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
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 18 09:27:58 UTC 2024 - SUSE Update Bot <bci-internal@suse.de>
|
||||
|
||||
- update to 11.6 mariadb
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 12 15:34:21 UTC 2024 - SUSE Update Bot <bci-internal@suse.de>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user