gearman / gearmand

http://gearman.org/
Other
740 stars 137 forks source link

Failed to build docker gearmand/supervisord #400

Closed p-alik closed 4 months ago

p-alik commented 4 months ago
$ git log -1 --pretty=format:"%h"  Dockerfile
44d58661
$ make latest 
Building Docker image gearmand/supervisord:1.0...
docker build  --build-arg version=1.0 -t gearmand/supervisord:1.0 .
[+] Building 1.1s (6/10)                                                                                                                                                       docker:default
 => [internal] load build definition from Dockerfile                                                                                                                                     0.0s
 => => transferring dockerfile: 1.06kB                                                                                                                                                   0.0s
 => [internal] load .dockerignore                                                                                                                                                        0.0s
 => => transferring context: 49B                                                                                                                                                         0.0s
 => [internal] load metadata for docker.io/library/ubuntu:latest                                                                                                                         0.9s
 => CACHED [1/6] FROM docker.io/library/ubuntu:latest@sha256:2e863c44b718727c860746568e1d54afd13b2fa71b160f5cd9058fc436217b30                                                            0.0s
 => [internal] load build context                                                                                                                                                        0.0s
 => => transferring context: 38B                                                                                                                                                         0.0s
 => ERROR [2/6] RUN (echo America/New_York > /etc/timezone)  && dpkg-reconfigure tzdata                                                                                                  0.2s
------                                                                                                                                                                                        
 > [2/6] RUN (echo America/New_York > /etc/timezone)  && dpkg-reconfigure tzdata:                                                                                                             
0.157 dpkg-query: package 'tzdata' is not installed and no information is available
0.157 Use dpkg --info (= dpkg-deb --info) to examine archive files.
0.157 /usr/sbin/dpkg-reconfigure: tzdata is not installed
------
Dockerfile:13
--------------------
  12 |         HOME=/root
  13 | >>> RUN (echo $TZ > /etc/timezone) \
  14 | >>>  && dpkg-reconfigure tzdata
  15 |     
--------------------
ERROR: failed to solve: process "/bin/sh -c (echo $TZ > /etc/timezone)  && dpkg-reconfigure tzdata" did not complete successfully: exit code: 1
make: [Makefile:7: image] Error 1 (ignored)
(docker images -q -f dangling=true | xargs --no-run-if-empty docker rmi)
Tagging Docker image gearmand/supervisord:1.0 with latest...
docker tag `docker image ls --format '{{.ID}}' gearmand/supervisord:1.0` gearmand/supervisord:latest
(docker images -q -f dangling=true | xargs --no-run-if-empty docker rmi)