fleischsalatinspace / pathfinder-docker

Easy to use docker-compose managed multi-container setup for running pathfinder
GNU General Public License v3.0
0 stars 1 forks source link

Dockerfile: Local build of Dockerfile results in pathfinder not starting #3

Open fleischsalatinspace opened 3 years ago

fleischsalatinspace commented 3 years ago

currently local build of docker image is not working, so we have to use the old docker hub image

mschultheiss83 commented 3 years ago

add this in your develop.sh and production.sh before running docker-compose, this should create a new image with the Dokerfile in the current dir:

docker build -f Dockerfile --build-arg VERSION=master -t kryptedgaming/pathfinder:latest .

so you dont have to download kryptedgaming/pathfinder:latest as pathfinder app

fleischsalatinspace commented 3 years ago

Ok maybe the issue description was misleading. If you local build the current Dockerfile instead of using the docker hub version, a startup of pathfinder is not possible as the application crashes with a HTTP 500

2021/02/28 16:15:45 [error] 74#74: *1 FastCGI sent in stderr: "PHP message: Cannot assign requested address [/var/www/pathfinder/vendor/bcosca/fatfree-core/base.php:2747]

So my guess is that either the kypted docker hub image is not built with this Dockerfile or since the build of the docker hub image (roughly one year ago), some php dependencies for pathfinder/fatfree-core framework in combination with the underlying ubuntu16.04 base image have changed, resulting in the error.

In either case i would like to migrate the Dockerfile to a ubuntu20.04 based image #4 asap, so i wont debug the issues with this really old image