-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Small changes in Fedora Dockerfile to match cXs Dockerfiles more.
- Loading branch information
Showing
1 changed file
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,14 +24,14 @@ MariaDB databases on behalf of the clients." | |
|
||
LABEL summary="$SUMMARY" \ | ||
description="$DESCRIPTION" \ | ||
io.k8s.description="MariaDB is a multi-user, multi-threaded SQL database server" \ | ||
io.k8s.display-name="MariaDB 10.11" \ | ||
io.k8s.description="$DESCRIPTION" \ | ||
io.k8s.display-name="MariaDB $VERSION" \ | ||
io.openshift.expose-services="3306:mysql" \ | ||
io.openshift.tags="database,mysql,mariadb,mariadb1011,galera" \ | ||
io.openshift.tags="database,mysql,mariadb,mariadb1011,mariadb-1011" \ | ||
com.redhat.component="$NAME" \ | ||
name="fedora/$NAME-1011" \ | ||
version="$VERSION" \ | ||
usage="docker run -d -e MYSQL_USER=user -e MYSQL_PASSWORD=pass -e MYSQL_DATABASE=db -p 3306:3306 quay.io/fedora/$NAME-1011" \ | ||
usage="podman run -d -e MYSQL_USER=user -e MYSQL_PASSWORD=pass -e MYSQL_DATABASE=db -p 3306:3306 quay.io/fedora/$NAME-1011" \ | ||
maintainer="SoftwareCollections.org <[email protected]>" | ||
|
||
EXPOSE 3306 | ||
|
@@ -43,7 +43,7 @@ RUN INSTALL_PKGS="policycoreutils rsync tar gettext hostname bind-utils groff-ba | |
dnf install -y --setopt=tsflags=nodocs $INSTALL_PKGS && \ | ||
rpm -V $INSTALL_PKGS && \ | ||
/usr/libexec/mysqld -V | grep -qe "$MYSQL_VERSION\." && echo "Found VERSION $MYSQL_VERSION" && \ | ||
dnf clean all && \ | ||
dnf -y clean all --enablerepo='*' && \ | ||
mkdir -p /var/lib/mysql/data && chown -R mysql.0 /var/lib/mysql && \ | ||
test "$(id mysql)" = "uid=27(mysql) gid=27(mysql) groups=27(mysql)" | ||
|
||
|