mprokopov / docker-egeya

Dockerized Egeya blogging engine
16 stars 9 forks source link

Build fails, package 'libpng12-dev' has no installation candidate #6

Open nitrok opened 6 years ago

nitrok commented 6 years ago

docker-compose build fails with error

E: Package 'libpng12-dev' has no installation candidate
ERROR: Service 'egeya' failed to build: The command '/bin/sh -c apt-get update && apt-get install -y libpng12-dev libjpeg-dev libmcrypt-dev unzip git     && rm -rf /var/lib/apt/lists/*     && docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr     && docker-php-ext-install gd mcrypt mbstring mysqli pdo_mysql zip' returned a non-zero code: 100
Ahton89 commented 5 years ago

Use libpng-dev instead libpng12-dev and all be fine :)