[Rt-commit] 04/05: Add DB type and name as Dockerfile build args
Brett Smith
brett at bestpractical.com
Thu Aug 5 17:18:07 UTC 2021
This is an automated email from the git hooks/post-receive script.
brett pushed a commit to branch github-actions-tests
in repository rtir.
commit b53dd9bd1c3845c481a502f2c690f4063c815925
Author: Brett Smith <brett at bestpractical.com>
AuthorDate: Thu Aug 5 11:14:50 2021 -0400
Add DB type and name as Dockerfile build args
---
Dockerfile | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Dockerfile b/Dockerfile
index 9e29d539..1681bb1a 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -4,6 +4,8 @@ LABEL maintainer="Best Practical Solutions <contact at bestpractical.com>"
# Valid values are RT branches like 5.0-trunk or version tags like rt-4.4.4
ARG RT_VERSION=5.0-trunk
+ARG RT_DB_NAME=rt5
+ARG RT_DB_TYPE=mysql
ARG RT_DBA_USER=root
ARG RT_DBA_PASSWORD=password
ARG RT_TEST_DB_HOST=172.17.0.2
@@ -17,6 +19,8 @@ RUN cd /usr/local/src \
--enable-developer \
--enable-gd \
--enable-graphviz \
+ --with-db-type="$RT_DB_TYPE" \
+ --with-db-database="$RT_DB_NAME" \
--with-db-host="$RT_TEST_DB_HOST" \
--with-db-rt-host="$RT_TEST_RT_HOST" \
&& make install \
--
To stop receiving notification emails like this one, please contact
sysadmin at bestpractical.com.
More information about the rt-commit
mailing list