Update of /cvsroot/xmltv/xmltv
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv23048
Modified Files:
.travis.yml .Dockerfile.ubuntu-xenial .Dockerfile.ubuntu-zesty
Log Message:
Ensure tzdata package is installed on recent Ubuntu images
Recent Ubuntu docker images removed the tzdata package. Date::Manip
version 6.57 (and possibly some earlier versions) contain a bug that
manifests when /etc/timezone is missing (or is set to an invalid timezone).
This is possible when tzdata is not installed.
Date::Manip version 6.57 is included in the Ubuntu 17.04 "Zesty Zapus"
distro which *does not* include tzdata by default.
Date::Manip version 6.57 is included in the Debian 9 "Stretch" distro
which *does* include tzdata by default.
The relevant bug was fixed in Date::Manip 6.58+. See:
- https://github.com/SBECK-github/Date-Manip/issues/8
- https://github.com/SBECK-github/Date-Manip/issues/9
for more details.
Index: .Dockerfile.ubuntu-xenial
===================================================================
RCS file: /cvsroot/xmltv/xmltv/.Dockerfile.ubuntu-xenial,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** .Dockerfile.ubuntu-xenial 25 Feb 2017 20:21:24 -0000 1.1
--- .Dockerfile.ubuntu-xenial 2 Sep 2017 04:57:09 -0000 1.2
***************
*** 10,13 ****
--- 10,19 ----
--no-install-recommends
+ ENV TZ 'Europe/London'
+ RUN echo $TZ > /etc/timezone && \
+ apt-get update && apt-get -y install tzdata && \
+ rm /etc/localtime && ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && \
+ dpkg-reconfigure -f noninteractive tzdata
+
RUN apt-get -y install libarchive-zip-perl \
libcgi-pm-perl \
Index: .travis.yml
===================================================================
RCS file: /cvsroot/xmltv/xmltv/.travis.yml,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** .travis.yml 2 Sep 2017 04:25:51 -0000 1.4
--- .travis.yml 2 Sep 2017 04:57:09 -0000 1.5
***************
*** 53,57 ****
before_install:
- export TZ=Europe/London
- - sudo echo "Europe/London" > /etc/timezone
- date
- env | sort
--- 53,56 ----
Index: .Dockerfile.ubuntu-zesty
===================================================================
RCS file: /cvsroot/xmltv/xmltv/.Dockerfile.ubuntu-zesty,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** .Dockerfile.ubuntu-zesty 31 Aug 2017 22:11:15 -0000 1.1
--- .Dockerfile.ubuntu-zesty 2 Sep 2017 04:57:09 -0000 1.2
***************
*** 10,13 ****
--- 10,19 ----
--no-install-recommends
+ ENV TZ 'Europe/London'
+ RUN echo $TZ > /etc/timezone && \
+ apt-get update && apt-get -y install tzdata && \
+ rm /etc/localtime && ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && \
+ dpkg-reconfigure -f noninteractive tzdata
+
RUN apt-get -y install libarchive-zip-perl \
libcgi-pm-perl \
|