[Bps-public-commit] docker-rt-base-debian-stretch branch, add-support-for-pg-and-apache-fcgid-test, created. 0c08c93e89a6894a947359ec85c893eb20cbd086

Dianne Skoll dianne at bestpractical.com
Mon Aug 24 15:25:15 EDT 2020


The branch, add-support-for-pg-and-apache-fcgid-test has been created
        at  0c08c93e89a6894a947359ec85c893eb20cbd086 (commit)

- Log -----------------------------------------------------------------
commit 0c08c93e89a6894a947359ec85c893eb20cbd086
Author: Dianne Skoll <dianne at bestpractical.com>
Date:   Mon Aug 24 15:24:30 2020 -0400

    Add DBD::Pg and a non-root user "rt-test"
    
    We need libdbd-pg-perl to run tests against PostgreSQL, and we need
    to run the test suite as a non-root user for apache+fgcid tests to
    work.

diff --git a/Dockerfile b/Dockerfile
index 22fd8dd..9ea6216 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -115,6 +115,7 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-ins
     build-essential \
     libhtml-formatexternal-perl \
     libdbd-mysql-perl \
+    libdbd-pg-perl \
 && rm -rf /var/lib/apt/lists/*
 
 # Install from backports to get newer gpg
@@ -144,4 +145,7 @@ RUN cpanm \
   ExtUtils::MakeMaker \
 && rm -rf /root/.cpanm
 
+# We need a non-root user for apache+fcgid tests.
+RUN adduser rt-test < /dev/null
+
 CMD tail -f /dev/null

-----------------------------------------------------------------------


More information about the Bps-public-commit mailing list