forked from google/trillian
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Dockerfile.database.rh
19 lines (16 loc) · 1.02 KB
/
Dockerfile.database.rh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
FROM registry.redhat.io/rhel9/mariadb-105@sha256:350b5ef9db52c359c974cdb4e9661de01b918fffabc5faeba5d9294caaa7b55c
USER root
COPY examples/deployment/docker/db_server/mysql.cnf /etc/mysql/conf.d/trillian.cnf
COPY storage/mysql/schema/storage.sql /docker-entrypoint-initdb.d/storage.sql
COPY 60-load-db.sh /usr/share/container-scripts/mysql/init/60-load-db.sh
RUN chmod -R 775 /docker-entrypoint-initdb.d && \
chmod 644 /etc/mysql/conf.d/trillian.cnf && \
chmod 775 /usr/share/container-scripts/mysql/init/60-load-db.sh
USER 1001
LABEL description="MariaDB is a community-developed, commercially supported fork of the MySQL relational database management system"
LABEL io.k8s.description="MariaDB is a community-developed, commercially supported fork of the MySQL relational database management system"
LABEL io.k8s.display-name="trillian_db"
LABEL io.openshift.tags="trillian database trusted-signer"
LABEL summary="Provides the backing database for running trillian"
LABEL com.redhat.component="trillian_db"
LABEL name="trillian_db"