forked from pool/mariadb-client-image
Accepting request 1247777 from devel:BCI:Tumbleweed
🤖: sync package with devel:BCI:Tumbleweed from OBS OBS-URL: https://build.opensuse.org/request/show/1247777 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mariadb-client-image?expand=0&rev=34
This commit is contained in:
commit
d9561f64bf
@ -17,7 +17,7 @@
|
||||
#!ExclusiveArch: aarch64 ppc64le s390x x86_64
|
||||
#!BuildTag: opensuse/mariadb-client:%%mariadb_version%%-%RELEASE%
|
||||
#!BuildTag: opensuse/mariadb-client:%%mariadb_version%%
|
||||
#!BuildTag: opensuse/mariadb-client:11.6
|
||||
#!BuildTag: opensuse/mariadb-client:11.7
|
||||
#!BuildTag: opensuse/mariadb-client: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-client that we expect
|
||||
RUN set -euo pipefail; \
|
||||
[ "$(rpm --root /target -q --qf '%{version}' mariadb-client | \
|
||||
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
|
||||
|
@ -13,13 +13,13 @@ This image contains the [MariaDB client](https://mariadb.com/kb/en/mariadb-comma
|
||||
To connect to a MariaDB instance, run the following command:
|
||||
|
||||
```ShellSession
|
||||
$ podman run -it --rm registry.opensuse.org/opensuse/mariadb-client:11.6 mariadb -h $HOST_IP -u root -p
|
||||
$ podman run -it --rm registry.opensuse.org/opensuse/mariadb-client:11.7 mariadb -h $HOST_IP -u root -p
|
||||
```
|
||||
|
||||
Use the command below to dump all databases:
|
||||
|
||||
```ShellSession
|
||||
$ podman run -it --rm registry.opensuse.org/opensuse/mariadb-client:11.6 mariadb-dump $HOST_IP -p --all-databases > my-dump.sql
|
||||
$ podman run -it --rm registry.opensuse.org/opensuse/mariadb-client:11.7 mariadb-dump $HOST_IP -p --all-databases > my-dump.sql
|
||||
```
|
||||
|
||||
## Utilities
|
||||
|
@ -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