Accepting request 1247775 from devel:BCI:Tumbleweed
🤖: sync package with devel:BCI:Tumbleweed from OBS OBS-URL: https://build.opensuse.org/request/show/1247775 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mariadb-image?expand=0&rev=51
This commit is contained in:
commit
d3a52bc215
@ -17,7 +17,7 @@
|
||||
#!ExclusiveArch: aarch64 ppc64le s390x x86_64
|
||||
#!BuildTag: opensuse/mariadb:%%mariadb_version%%-%RELEASE%
|
||||
#!BuildTag: opensuse/mariadb:%%mariadb_version%%
|
||||
#!BuildTag: opensuse/mariadb:11.6
|
||||
#!BuildTag: opensuse/mariadb:11.7
|
||||
#!BuildTag: opensuse/mariadb:latest
|
||||
|
||||
FROM opensuse/bci/bci-micro:latest AS target
|
||||
@ -31,7 +31,7 @@ RUN set -euo pipefail; \
|
||||
# sanity check that the version from the tag is equal to the version of mariadb that we expect
|
||||
RUN set -euo pipefail; \
|
||||
[ "$(rpm --root /target -q --qf '%{version}' mariadb | \
|
||||
cut -d '.' -f -2)" = "11.6" ]
|
||||
cut -d '.' -f -2)" = "11.7" ]
|
||||
FROM opensuse/bci/bci-micro:latest
|
||||
COPY --from=builder /target /
|
||||
# Define labels according to https://en.opensuse.org/Building_derived_containers
|
||||
|
@ -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.6
|
||||
$ podman run -it --rm -p 3306:3306 -e MARIADB_ROOT_PASSWORD=my-password registry.opensuse.org/opensuse/mariadb:11.7
|
||||
```
|
||||
|
||||
or:
|
||||
|
||||
```ShellSession
|
||||
$ podman run -it --rm -p 3306:3306 -e MARIADB_ALLOW_EMPTY_ROOT_PASSWORD=1 registry.opensuse.org/opensuse/mariadb:11.6
|
||||
$ podman run -it --rm -p 3306:3306 -e MARIADB_ALLOW_EMPTY_ROOT_PASSWORD=1 registry.opensuse.org/opensuse/mariadb:11.7
|
||||
```
|
||||
|
||||
### 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.6
|
||||
$ 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.7
|
||||
```
|
||||
|
||||
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.
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 21 10:12:28 UTC 2025 - SUSE Update Bot <bci-internal@suse.de>
|
||||
|
||||
- Bump mariadb version to 11.7
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 31 13:55:15 UTC 2025 - SUSE Update Bot <bci-internal@suse.de>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user