[Bps-public-commit] docker-rt-base-debian-stretch branch, master, created. 0552113e06babd790a4e9404883ae51283859f25

Jim Brandt jbrandt at bestpractical.com
Wed Jun 10 09:51:38 EDT 2020


The branch, master has been created
        at  0552113e06babd790a4e9404883ae51283859f25 (commit)

- Log -----------------------------------------------------------------
commit a203a39c08e4abfccd35627c870db655406a69ee
Author: Jim Brandt <jbrandt at bestpractical.com>
Date:   Wed Mar 11 15:46:22 2020 -0400

    Add README

diff --git a/README b/README
new file mode 100644
index 0000000..d47d1c7
--- /dev/null
+++ b/README
@@ -0,0 +1,7 @@
+This repo defines a base docker image to use for testing Request Tracker (RT).
+
+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.

commit 3fea6266fefb28786ca3daef8c6ad26284b79118
Author: Jim Brandt <jbrandt at bestpractical.com>
Date:   Wed Mar 11 15:50:02 2020 -0400

    Add initial dockerfile

diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..b819906
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,10 @@
+language: bash
+services: docker
+
+before_install:
+  - docker build -t rt-base-debian-stretch .
+  - docker run -d --name rt-base
+
+script:
+  - docker ps -a
+  - docker images
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..002317c
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,130 @@
+FROM debian:stretch-slim
+
+LABEL maintainer="Best Practical Solutions <contact at bestpractical.com>"
+
+RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
+    apache2 \
+    cpanminus \
+    curl \
+    gcc \
+    gnupg \
+    vim \
+    # RT core dependencies
+    libapache2-mod-fcgid \
+    libapache-session-perl \
+    libbusiness-hours-perl \
+    libc-dev \
+    libcgi-emulate-psgi-perl \
+    libcgi-psgi-perl \
+    libconvert-color-perl \
+    libcrypt-eksblowfish-perl \
+    libcrypt-ssleay-perl \
+    libcss-minifier-xs-perl \
+    libcss-squish-perl \
+    libdata-guid-perl \
+    libdata-ical-perl \
+    libdata-page-pageset-perl \
+    libdata-page-perl \
+    libdate-extract-perl \
+    libdate-manip-perl \
+    libdatetime-format-natural-perl \
+    libdbd-sqlite3-perl \
+    libdbix-searchbuilder-perl \
+    libdevel-globaldestruction-perl \
+    libemail-address-list-perl \
+    libemail-address-perl \
+    libencode-perl \
+    libfcgi-perl \
+    libfcgi-procmanager-perl \
+    libfile-sharedir-install-perl \
+    libfile-sharedir-perl \
+    libgd-graph-perl \
+    libgraphviz-perl \
+    libhtml-formattext-withlinks-andtables-perl \
+    libhtml-formattext-withlinks-perl \
+    libhtml-mason-perl  \
+    libhtml-mason-psgihandler-perl \
+    libhtml-quoted-perl \
+    libhtml-rewriteattributes-perl \
+    libhtml-scrubber-perl  \
+    libipc-run3-perl \
+    libipc-signal-perl \
+    libjavascript-minifier-xs-perl \
+    libjson-perl \
+    liblocale-maketext-fuzzy-perl \
+    liblocale-maketext-lexicon-perl \
+    liblog-dispatch-perl \
+    libmailtools-perl \
+    libmime-tools-perl \
+    libmime-types-perl \
+    libmodule-refresh-perl \
+    libmodule-signature-perl \
+    libmodule-versions-report-perl \
+    libnet-cidr-perl \
+    libnet-ip-perl \
+    libplack-perl \
+    libregexp-common-net-cidr-perl \
+    libregexp-common-perl \
+    libregexp-ipv6-perl \
+    librole-basic-perl \
+    libscope-upper-perl \
+    libserver-starter-perl \
+    libsymbol-global-name-perl \
+    libterm-readkey-perl  \
+    libtext-password-pronounceable-perl \
+    libtext-quoted-perl \
+    libtext-template-perl \
+    libtext-wikiformat-perl  \
+    libtext-wrapper-perl \
+    libtime-modules-perl \
+    libtree-simple-perl  \
+    libuniversal-require-perl \
+    libxml-rss-perl \
+    make \
+    perl-doc \
+    starlet \
+    w3m \
+    # RT developer dependencies
+    libemail-abstract-perl \
+    libfile-which-perl \
+    liblocale-po-perl \
+    liblog-dispatch-perl-perl \
+    libmojolicious-perl \
+    libperlio-eol-perl \
+    libplack-middleware-test-stashwarnings-perl \
+    libset-tiny-perl \
+    libstring-shellquote-perl \
+    libtest-deep-perl \
+    libtest-email-perl \
+    libtest-expect-perl \
+    libtest-longstring-perl \
+    libtest-mocktime-perl \
+    libtest-nowarnings-perl \
+    libtest-pod-perl \
+    libtest-warn-perl \
+    libtest-www-mechanize-perl \
+    libtest-www-mechanize-psgi-perl \
+    libwww-mechanize-perl \
+    libxml-simple-perl \
+    autoconf \
+    libnet-ldap-server-test-perl \
+    libencode-hanextra-perl \
+    libgumbo1 \
+    build-essential \
+    libhtml-formatexternal-perl \
+    libdbd-mysql-perl \
+&& rm -rf /var/lib/apt/lists/*
+
+RUN cpanm \
+  # RT dependencies
+  Module::Install \
+  Email::Address \
+  Email::Address::List \
+  Mozilla::CA \
+  Encode::Detect::Detector \
+  HTML::Gumbo \
+  # RT extension development dependencies
+  ExtUtils::MakeMaker \
+  Module::Install::RTx \
+  Module::Install::Substitute \
+&& rm -rf /root/.cpanm

commit 7eba27f4777947efebd1a1040b7b8f18d1dcf3e0
Author: Jim Brandt <jbrandt at bestpractical.com>
Date:   Wed Apr 15 15:46:38 2020 -0400

    Install git for rt builds from github

diff --git a/Dockerfile b/Dockerfile
index 002317c..28fb945 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -9,6 +9,7 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-ins
     gcc \
     gnupg \
     vim \
+    git \
     # RT core dependencies
     libapache2-mod-fcgid \
     libapache-session-perl \

commit edd65ac10ddbee71fa5e5391ff2a7ee4dc095f80
Author: Jim Brandt <jbrandt at bestpractical.com>
Date:   Thu Apr 16 13:38:49 2020 -0400

    Remove Module::Install modules from base
    
    These modules are used only when running Makefile.PL
    as an author. For testing, extensions installs should use
    the files in inc to simulate an end user trying to install
    and use the extension.

diff --git a/Dockerfile b/Dockerfile
index 28fb945..4c12233 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -118,7 +118,6 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-ins
 
 RUN cpanm \
   # RT dependencies
-  Module::Install \
   Email::Address \
   Email::Address::List \
   Mozilla::CA \
@@ -126,6 +125,4 @@ RUN cpanm \
   HTML::Gumbo \
   # RT extension development dependencies
   ExtUtils::MakeMaker \
-  Module::Install::RTx \
-  Module::Install::Substitute \
 && rm -rf /root/.cpanm

commit c4abe6fd7dfbb9f5609d59d6251d1fa09831cda8
Author: Jim Brandt <jbrandt at bestpractical.com>
Date:   Fri May 8 15:48:26 2020 -0400

    Add REST2 dependencies

diff --git a/Dockerfile b/Dockerfile
index 4c12233..260f28e 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -20,6 +20,7 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-ins
     libconvert-color-perl \
     libcrypt-eksblowfish-perl \
     libcrypt-ssleay-perl \
+    libcrypt-x509-perl \
     libcss-minifier-xs-perl \
     libcss-squish-perl \
     libdata-guid-perl \
@@ -114,15 +115,26 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-ins
     build-essential \
     libhtml-formatexternal-perl \
     libdbd-mysql-perl \
+    gnupg1 \
 && rm -rf /var/lib/apt/lists/*
 
 RUN cpanm \
   # RT dependencies
+  Module::Install \
   Email::Address \
   Email::Address::List \
   Mozilla::CA \
   Encode::Detect::Detector \
   HTML::Gumbo \
+#  GnuPG::Interface \
+  Module::Path \
+  Moose \
+  MooseX::NonMoose \
+  MooseX::Role::Parameterized \
+  Path::Dispatcher \
+  Web::Machine \
   # RT extension development dependencies
   ExtUtils::MakeMaker \
 && rm -rf /root/.cpanm
+
+CMD tail -f /dev/null
diff --git a/README b/README
index d47d1c7..17d486f 100644
--- a/README
+++ b/README
@@ -5,3 +5,5 @@ 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.
+
+Instructions for updating: https://docs.docker.com/docker-hub/repos/

commit 0552113e06babd790a4e9404883ae51283859f25
Author: Jim Brandt <jbrandt at bestpractical.com>
Date:   Tue May 19 08:11:44 2020 -0400

    Install and enable gnupg

diff --git a/Dockerfile b/Dockerfile
index 260f28e..22fd8dd 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -115,9 +115,16 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-ins
     build-essential \
     libhtml-formatexternal-perl \
     libdbd-mysql-perl \
-    gnupg1 \
 && rm -rf /var/lib/apt/lists/*
 
+# Install from backports to get newer gpg
+RUN echo 'deb http://deb.debian.org/debian stretch-backports main' > /etc/apt/sources.list.d/backports.list
+RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -t stretch-backports install -y --no-install-recommends \
+    gnupg \
+&& rm -rf /var/lib/apt/lists/*
+
+RUN gpg --version
+
 RUN cpanm \
   # RT dependencies
   Module::Install \
@@ -126,7 +133,7 @@ RUN cpanm \
   Mozilla::CA \
   Encode::Detect::Detector \
   HTML::Gumbo \
-#  GnuPG::Interface \
+  GnuPG::Interface \
   Module::Path \
   Moose \
   MooseX::NonMoose \

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


More information about the Bps-public-commit mailing list