[Rt-commit] rtir branch 5.0/docker-testing-buster created. 5.0.3-2-ge8a5ff9c
BPS Git Server
git at git.bestpractical.com
Mon Aug 1 18:16:41 UTC 2022
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "rtir".
The branch, 5.0/docker-testing-buster has been created
at e8a5ff9ce82c59d63e454148b59d4297c3ddf28d (commit)
- Log -----------------------------------------------------------------
commit e8a5ff9ce82c59d63e454148b59d4297c3ddf28d
Author: Brian Conry <bconry at bestpractical.com>
Date: Mon Aug 1 13:14:29 2022 -0500
Use new Docker base image
diff --git a/Dockerfile b/Dockerfile
index 2c7b5130..2a592748 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,4 @@
-FROM bpssysadmin/rt-base-debian-stretch
+FROM bpssysadmin/rt-base-debian:RT-5.0.3-buster-20220721
LABEL maintainer="Best Practical Solutions <contact at bestpractical.com>"
@@ -11,6 +11,8 @@ ARG RT_DBA_PASSWORD=password
ARG RT_TEST_DB_HOST=172.17.0.2
ARG RT_TEST_RT_HOST
+ENV PATH="/opt/perl/bin:$PATH"
+
RUN cd /usr/local/src \
&& git clone https://github.com/bestpractical/rt.git \
&& cd rt \
@@ -24,10 +26,11 @@ RUN cd /usr/local/src \
--with-db-host="$RT_TEST_DB_HOST" \
--with-db-rt-host="${RT_TEST_RT_HOST:-$(ip --oneline address show to 172.16/12 | gawk '{split($4, a, "/"); print a[1] "/255.255.255.0"; exit 0;}')}" \
&& make install \
- && /usr/bin/perl -I/opt/rt5/local/lib -I/opt/rt5/lib sbin/rt-setup-database --action init --dba="$RT_DBA_USER" --dba-password="$RT_DBA_PASSWORD" \
+ && perl -I/opt/rt5/local/lib -I/opt/rt5/lib -MTerm::ReadKey -e 'print $Term::ReadKey::VERSION, "\n"' \
+ && perl -I/opt/rt5/local/lib -I/opt/rt5/lib sbin/rt-setup-database --action init --dba="$RT_DBA_USER" --dba-password="$RT_DBA_PASSWORD" \
&& rm -rf /usr/local/src/*
-RUN cpanm Net::Domain::TLD Net::Whois::RIPE Parse::BooleanLogic
+RUN cpm install Net::Domain::TLD Net::Whois::RIPE Parse::BooleanLogic
ENV RT_DBA_USER="$RT_DBA_USER"
ENV RT_DBA_PASSWORD="$RT_DBA_PASSWORD"
-----------------------------------------------------------------------
hooks/post-receive
--
rtir
More information about the rt-commit
mailing list