Open herrnesto opened 4 years ago
Which php version / base image do you use?
Hi @frunika
I used exactly the Dockerfile from this repo. I'm using OSX. I've built it with docker-compose up
I removed the options --with-freetype, --with-jpeg
and changed the docker-compose to the follwoing:
version: '3.0'
services:
grav:
container_name: truetsch_grav
build: ./
ports:
- 8090:80
volumes:
- ./:/var/www/html
Now it seems to work.
Then you are using 7.3. Try to use php 7.4 instead. Could be a change between 7.3 and 7.4.
But you are still using php 7.3, @birdnestman ?
Hi @frunika , This solves that issue, but now I got an invalid package name freetype
Just tested to build the image, works fine for me.
Where do run into this issue?
Hi, I'm on OSX to, and i encounter the same issue. I have just changed the php version in the Dockerfile (php2.3 => php2.4)
Does it fix the problem @MathieuGery ?
Yes i have created pull requests if you want to merge that upgrade. Have a nice day ☀️
seem's that this issue can be closed
Hello, I run into this issue. Any ideas why?
configure: error: unrecognized options: --with-freetype, --with-jpeg ERROR: Service 'grav' failed to build: The command '/bin/sh -c apt-get update && apt-get install -y --no-install-recommends unzip libfreetype6-dev libjpeg62-turbo-dev libpng-dev libyaml-dev libzip4 libzip-dev zlib1g-dev libicu-dev g++ git cron vim && docker-php-ext-install opcache && docker-php-ext-configure intl && docker-php-ext-install intl && docker-php-ext-configure gd --with-freetype --with-jpeg && docker-php-ext-install -j$(nproc) gd && docker-php-ext-install zip && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 1