visol / docker-egroupware

Dockerfile to build a EGroupware Community Edition container image.
0 stars 7 forks source link

docker build failes #1

Open eku opened 5 years ago

eku commented 5 years ago

docker build failes with

Get:1 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 tnef amd64 1.4.12-1.2 [42.4 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 42.4 kB in 0s (378 kB/s)
Selecting previously unselected package tnef.
(Reading database ... 17180 files and directories currently installed.)
Preparing to unpack .../tnef_1.4.12-1.2_amd64.deb ...
Unpacking tnef (1.4.12-1.2) ...
Processing triggers for mime-support (3.60) ...
Setting up tnef (1.4.12-1.2) ...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 81923    0 81923    0     0   133k      0 --:--:-- --:--:-- --:--:--  133k

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
The command '/bin/sh -c apt-get update  && apt-get -y install tnef  && rm -rf /var/lib/apt/lists/*  && curl -o jpgraph.tar.gz -SL "http://jpgraph.net/download/download.php?p=5"    && mkdir -p /var/www/html/jpgraph   && tar -xzf jpgraph.tar.gz --strip-components=1 -C /var/www/html/jpgraph    && rm jpgraph.tar.gz' returned a non-zero code: 2
jrenggli commented 5 years ago

@eku: Thanks for reporting an issue. Though I cannot reproduce the error mentioned. Probably the source was just offline the moment you tried to run docker build.

But I found some errors regarding changed package names. See https://github.com/visol/docker-egroupware/commit/327774b9fc7d5aab983fccffdef7def694e31c65

Please try again. Maybe it's fixed with latest master.

eku commented 5 years ago

@jrenggli: I had already corrected the problem with the changed package name locally.

There are some pitfalls regarding network topology, proxy and docker. If I change curl -o jpgraph.tar.gz -SL "http://jpgraph.net/download/download.php?p=5" into curl -o jpgraph.tar.gz -SL "https://jpgraph.net/download/download.php?p=5" it works.

jrenggli commented 5 years ago

@eku: This appears like a good change. Could you please open a PR for this?