Subject: | 1.002001 fails to install in docker |
docker run --rm perl:5.24.1 -v cpanm Type::Tiny
This starts with a screenful of:
/bin/tar: Type-Tiny-1.002001/COPYRIGHT: time stamp 2017-06-08 11:58:05 is 7947.730413874 s in the future
All the files get this future timestamp, causing make to fail:
Writing Makefile for Type::Tiny
Writing MYMETA.yml and MYMETA.json
==> Your Makefile has been rebuilt. <==
==> Please rerun the make command. <==
false
make: *** [Makefile] Error 1
Makefile:929: recipe for target 'Makefile' failed
This is not specific to the perl:5:24.1 image - installing into ubuntu:16.04 for instance fails the same way
1.002000 installs just fine.