Accepting request 1199638 from devel:BCI:Tumbleweed

🤖: sync package with devel:BCI:Tumbleweed from OBS

OBS-URL: https://build.opensuse.org/request/show/1199638
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mariadb-image?expand=0&rev=32
This commit is contained in:
Ana Guerrero 2024-09-09 12:45:41 +00:00 committed by Git OBS Bridge
commit 9e8ac71a69
3 changed files with 14 additions and 9 deletions

View File

@ -14,8 +14,8 @@
# You can contact the BCI team via https://github.com/SUSE/bci/discussions
#!BuildTag: opensuse/mariadb:11.4
#!BuildTag: opensuse/mariadb:11.4-%RELEASE%
#!BuildTag: opensuse/mariadb:11.5
#!BuildTag: opensuse/mariadb:11.5-%RELEASE%
#!BuildTag: opensuse/mariadb:latest
FROM opensuse/tumbleweed:latest
@ -27,13 +27,13 @@ RUN set -euo pipefail; zypper -n in --no-recommends mariadb mariadb-tools gawk t
LABEL org.opencontainers.image.authors="openSUSE (https://www.opensuse.org/)"
LABEL org.opencontainers.image.title="openSUSE Tumbleweed MariaDB Server"
LABEL org.opencontainers.image.description="MariaDB Server container based on the openSUSE Tumbleweed Base Container Image."
LABEL org.opencontainers.image.version="11.4"
LABEL org.opencontainers.image.version="11.5"
LABEL org.opencontainers.image.url="https://www.opensuse.org"
LABEL org.opencontainers.image.created="%BUILDTIME%"
LABEL org.opencontainers.image.vendor="openSUSE Project"
LABEL org.opencontainers.image.source="%SOURCEURL%"
LABEL org.opencontainers.image.ref.name="11.4-%RELEASE%"
LABEL org.opensuse.reference="registry.opensuse.org/opensuse/mariadb:11.4-%RELEASE%"
LABEL org.opencontainers.image.ref.name="11.5-%RELEASE%"
LABEL org.opensuse.reference="registry.opensuse.org/opensuse/mariadb:11.5-%RELEASE%"
LABEL org.openbuildservice.disturl="%DISTURL%"
LABEL org.opensuse.lifecycle-url="https://en.opensuse.org/Lifetime#openSUSE_BCI"
LABEL org.opensuse.release-stage="released"
@ -43,7 +43,7 @@ ENTRYPOINT ["docker-entrypoint.sh"]
CMD ["mariadbd"]
EXPOSE 3306
# 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.4" ]
RUN set -euo pipefail; [ "$(rpm -q --qf '%{version}' mariadb-client | cut -d '.' -f -2)" = "11.5" ]
RUN set -euo pipefail; mkdir /docker-entrypoint-initdb.d

View File

@ -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.4
$ podman run -it --rm -p 3306:3306 -e MARIADB_ROOT_PASSWORD=my-password registry.opensuse.org/opensuse/mariadb:11.5
```
or:
```ShellSession
$ podman run -it --rm -p 3306:3306 -e MARIADB_ALLOW_EMPTY_ROOT_PASSWORD=1 registry.opensuse.org/opensuse/mariadb:11.4
$ podman run -it --rm -p 3306:3306 -e MARIADB_ALLOW_EMPTY_ROOT_PASSWORD=1 registry.opensuse.org/opensuse/mariadb:11.5
```
### 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.4
$ 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
```
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.

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Sep 9 06:51:05 UTC 2024 - Dirk Mueller <dmueller@suse.com>
- Bump main package version
-------------------------------------------------------------------
Wed Sep 4 11:25:11 UTC 2024 - Dan Čermák <dcermak@suse.com>