Skip to content

Commit

Permalink
Update Dockerfile.fedora
Browse files Browse the repository at this point in the history
Small changes in Fedora Dockerfile to match cXs Dockerfiles more.
  • Loading branch information
hhorak authored and phracek committed Jul 26, 2024
1 parent 2f5c738 commit 52a0a22
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions 10.11/Dockerfile.fedora
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)"

Expand Down

0 comments on commit 52a0a22

Please sign in to comment.