[Bps-public-commit] docker-rt-debian-stretch branch, master, created. 8329b3f4ef5736e58c3d17797589ca07ee7c2987
Jim Brandt
jbrandt at bestpractical.com
Mon Jun 1 14:40:23 EDT 2020
The branch, master has been created
at 8329b3f4ef5736e58c3d17797589ca07ee7c2987 (commit)
- Log -----------------------------------------------------------------
commit 8329b3f4ef5736e58c3d17797589ca07ee7c2987
Author: Jim Brandt <jbrandt at bestpractical.com>
Date: Mon Jun 1 14:38:26 2020 -0400
Initial commit
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..07076fe
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,38 @@
+FROM bpssysadmin/rt-base-debian-stretch
+
+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
+ENV RT_VERSION 5.0-trunk
+ENV RT_TEST_DEVEL 1
+ENV RT_DBA_USER root
+ENV RT_DBA_PASSWORD password
+ENV RT_TEST_DB_HOST=172.17.0.2
+ENV RT_TEST_RT_HOST=172.17.0.3
+
+RUN cd /usr/local/src \
+ && git clone https://github.com/bestpractical/rt.git \
+ && cd rt \
+ && git checkout $RT_VERSION \
+ && ./configure.ac \
+ --disable-gpg --disable-smime --enable-developer --enable-gd --enable-graphviz --with-db-type=SQLite \
+ && make install \
+ && make initdb \
+ && rm -rf /usr/local/src/*
+
+#COPY apache.rt.conf /etc/apache2/sites-available/rt.conf
+#RUN a2dissite 000-default.conf && a2ensite rt.conf
+
+#RUN chown -R www-data:www-data /opt/rt4/var/
+
+#COPY RT_SiteConfig.pm /opt/rt4/etc/RT_SiteConfig.pm
+
+#VOLUME /opt/rt4
+
+#COPY docker-entrypoint.sh /usr/local/bin/
+
+#ENTRYPOINT ["docker-entrypoint.sh"]
+
+#CMD ["apache2-foreground"]
+
+CMD tail -f /dev/null
diff --git a/README b/README
new file mode 100644
index 0000000..734c4d4
--- /dev/null
+++ b/README
@@ -0,0 +1,8 @@
+This repo defines a docker image that can build a running RT to use
+for testing Request Tracker (RT) extensions.
+
+It is intended only for testing but might be used as a base example for
+other deployments of RT with docker. Since it is used for testing, it
+includes development dependencies that are not needed for production RT deployments.
+
+Thanks to Christian Loos (GitHub:@cloos) for publishing RT docker examples.
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list