Mencoba menginstal dependensi GD di alpine linux di docker.
Saya sedang membangun gambar php5-fpm-alpine.
FROM php:5-fpm-alpineRUN docker-php-ext-install mysqliRUN apk upgrade --update && apk add \ libfreetype6-dev \ libjpeg62-turbo-dev \ libmcrypt-dev \ libpng12-dev \ && docker-php-ext-install -j$(nproc) mcrypt \ && docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \ && docker-php-ext-install -j$(nproc) gd
Saya mendapatkan kesalahan:
ERROR: unsatisfiable constraints: libfreetype6-dev (missing): required by: world[libfreetype6-dev] libjpeg62-turbo-dev (missing): required by: world[libjpeg62-turbo-dev] libpng12-dev (missing): required by: world[libpng12-dev]
Saya memiliki pengalaman terbatas dengan distro alpine. dan tampaknya tidak terlalu populer, ergo sedikit informasi atau tidak sama sekali melalui google.