Setup with Docker

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
Eisballer
Posts: 1
Joined: Wed Dec 22, 2021 9:04 am

Setup with Docker

Post by Eisballer »

Hi everybody,

I really hope you can help me, because I feel a little bit lost :(

I am looking for a good FAQ software and read a lot of good things about phpmyFAQ.
Now I would like to test it but unfortunately I don´t know how.

I would like to test it with Docker but cannot figure out which is the correct file to pull and which is the corresponding YAML-file for it.

Can anybody give me a helping hand?

Thank you very much in advance :)

Best regards,
Lars


*edit*
I build an image with the following command:
"git clone https://github.com/phpMyFAQ/docker-hub.git && cd docker-hub
git checkout 3.0
docker build -t phpmyfaq ."

And received the following error message in Visual Studio Code:
"#22 0.207 + composer install --no-dev
#22 0.281 Installing dependencies from lock file
#22 0.281 Verifying lock file contents can be installed on current platform.
#22 0.287 Your lock file does not contain a compatible set of packages. Please run composer update.
#22 0.287
#22 0.287 Problem 1
#22 0.287 - Root composer.json requires PHP extension ext-gd * but it is missing from your system. Install or enable PHP's gd extension.
#22 0.287
#22 0.287 To enable extensions, verify that they are enabled in your .ini files:
#22 0.287 - /usr/local/etc/php/php-cli.ini
#22 0.287 - /usr/local/etc/php/conf.d/docker-php-ext-bz2.ini
#22 0.287 - /usr/local/etc/php/conf.d/docker-php-ext-sodium.ini
#22 0.287 - /usr/local/etc/php/conf.d/docker-php-ext-zip.ini
#22 0.287 You can also run `php --ini` in a terminal to see which files are used by PHP in CLI mode.
#22 0.287 Alternatively, you can run Composer with `--ignore-platform-req=ext-gd` to temporarily ignore these required extensions.
------
executor failed running [/bin/sh -c set -x && composer install --no-dev]: exit code: 2"
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Setup with Docker

Post by Thorsten »

Hi,

I didn't updated this repo for a year or so, so it won't work. For a test you can use the Docker Compose Setup from https://github.com/thorsten/phpMyFAQ/tree/3.0

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply