[Rt-commit] 01/06: Optimize cpanm calls in Dockerfile

Brett Smith brett at bestpractical.com
Mon Aug 9 21:20:31 UTC 2021

This is an automated email from the git hooks/post-receive script.

brett pushed a commit to branch 5.0/github-actions-tests
in repository rtir.

commit 1238dd3120a31b5be5012f190746c7da085457d9
Author: Brett Smith <brett at bestpractical.com>
AuthorDate: Thu Aug 5 10:37:13 2021 -0400

    Optimize cpanm calls in Dockerfile
    Just to reduce the number of layers in the image.
 Dockerfile | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index 31b703ab..52b18a31 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -20,8 +20,6 @@ RUN cd /usr/local/src \
   && /usr/bin/perl -I/opt/rt5/local/lib -I/opt/rt5/lib sbin/rt-setup-database --action init --dba-password=password \
   && rm -rf /usr/local/src/*
-RUN cpanm Net::Whois::RIPE
-RUN cpanm Parse::BooleanLogic
-RUN cpanm Net::Domain::TLD
+RUN cpanm Net::Domain::TLD Net::Whois::RIPE Parse::BooleanLogic
 CMD tail -f /dev/null

To stop receiving notification emails like this one, please contact
sysadmin at bestpractical.com.

More information about the rt-commit mailing list