docker: don't install Perl packages through Apt
authorGregory Szorc <gps@mozilla.com>
Thu, 27 Nov 2014 15:18:26 -0800
changeset 359947 4eefe1a553d870a8decbcb12485cf8876df41780
parent 359946 8d5e83acd3b07ddf507a07cad2efc858c480c9c9
child 359948 da9e9691cc909e594df09f3ed58569ee598ddcac
push id16998
push userrwood@mozilla.com
push dateMon, 02 May 2016 19:42:03 +0000
docker: don't install Perl packages through Apt The old issues getting DateTime to install through CPAN were likely related to system clock skew in the author boot2docker host VM. The issue is no longer present. So, removing this workaround.
testing/docker/builder-bmoweb/Dockerfile
--- a/testing/docker/builder-bmoweb/Dockerfile
+++ b/testing/docker/builder-bmoweb/Dockerfile
@@ -114,22 +114,19 @@ ENV DB_PASS password
 ENV DB_NAME bugs
 ENV ADMIN_EMAIL admin@example.com
 ENV ADMIN_PASSWORD password
 ENV BMO_URL http://localhost:80/
 
 RUN /usr/sbin/groupadd -g 1000 bugzilla
 RUN /usr/sbin/useradd --no-create-home -u 1000 -g 1000 bugzilla
 
-# The DateTime packages were added to this list because we were getting
-# errors installing them from CPAN and this workaround was expedient.
 RUN apt-get update && apt-get -y install \
   apache2 build-essential cvs g++ git graphviz \
   libapache2-mod-perl2 libdaemon-generic-perl libgd-dev libssl-dev \
-  libdatetime-perl libdatetime-timezone-perl \
   mysql-client patchutils perlmagick pkg-config python3-mysql.connector \
   unzip
 
 RUN git clone https://git.mozilla.org/webtools/bmo/bugzilla.git $BUGZILLA_HOME/bugzilla
 
 # ElasticSearch isn't available on CPAN. Patch Bugzilla to not install
 # it.
 ADD elasticsearch.patch $BUGZILLA_HOME/elasticsearch.patch