Closed jakubjosef closed 4 years ago
You can also use FROM php:7.2-apache-stretch
if you don't want to be pegged to a specific sub-version of PHP
@rioncarter AFAIK this is about version of PHP, not apache.
@jakubjosef I updated my comment to better reflect that I was talking about a php base image as opposed to an apache image (lost the colon there and mistakenly mentioned Apache :)).
I build the image and didn't run into any errors. As the error log is quite unspecific about the actual nature or origin of the error, I wouldn't know how to reproduce and debug it.
Does the error still occur on your system? If so, please try and supply a more detailed error log.
@rioncarter AFAIK php 7.2. is a synonym for latest php 7.2. with apache on Debian stretch. So using this tag is also not a fix.
@SimJoSt Unfortunately using local docker it's working for me as well, it's failing just on Gitlab CI/CD runner running on k8s cluster. I tested it again and it still broken using PHP 7.2.20.
I understand it's probably not grav-related problem, it looks like there is some problem with PHP 7.2.20 and freetype 2.9.1-3 - PHP hot see the freetype (build check failed).
Using php:7.3-apache
now
New image was released for PHP 7.2-apache tag, new version is 7.2.20.
This image contains new version of FreeType 2: libfreetype6:amd64 (2.9.1-3) Previous working version was: libfreetype6:amd64 (2.6.3-3.2) ...
QUICK FIX: You can enforce
FROM php:7.2.19-apache
image in your Dockerfile.Error: