I'm still a relative newcomer to Docker, but I've successfully modified docker-compose files and also created my own Dockerfiles from scratch (using python, flask and WINE to turn a Windows command line app into a web service) so I'm not a complete dunce, but the docker stuff for opencats has me confused and the one Readme just confuses matters even more.
As for PHP, I worked with it quite a lot many years ago, but I've not been near it in years (I'm primarily a C++ programmer), so I I've forgotten much and have no experience of things like php composer.
To start with I just tried running docker-compose with the configuration file in the opencats repository. This went ok, but run into some issues with permissions when ran it, I've attached a screenshot.
So then, having also noticed that the Docker repository image seems to be 2 years old, I thought I'd look at the Dockerfile, update it if necessary and build using the latest Opencats code.
First mystery, the Dockerfile is not in the opencats repository, but the docker-compose.yml is? That really makes very little sense to me, because you seem to be missing out the middle step, Please correct me if I'm wrong, but If I understand correctly from a clone of the opencats repository I can install a non docker build of the latest code, or create a docker container with two year old code, but I can't create a docker container with the latest code?
But anyway I found the php-base repository, which seems to be what I need.
But it makes little sense to me, the readme is completely cryptic as it does not give any indication as to what I'm supposed to do to get it to actually see the opencats repository that I've cloned (i.e. the code I want to actually build an image with), and the Dockerfile and install-composer scripts are completely uncommented.
The last line in the Dockerfile seems to download and expand dockerize, but then does nothing with it?
So, in short, I would really appreciate some help in understanding
a) How to build a Docker image for OpenCATS from a working copy of the repository
b) What's actually going on in the Dockerfile so I can fix it if necessary.