Closed nichtich closed 6 years ago
@nichtich since we now have a a common understanding of building a minimal docker image for catmandu (which makes sense!), I have modified this case on the branch https://github.com/LibreCat/Catmandu/tree/docker2.
Features of the branch:
catmandu
(because we can)Dockerfile
back the the project root, which makes life a bit easierIf we'd go with that solution, I can configure docker hub to
From that we can proceed an modify the https://github.com/LibreCat/docker-catmandu repository which was intended to provide a full demo version of catmandu with stores and sample data, etc.
Thanks, this is better indeed! I added some minor comments to your changeset.
For https://github.com/LibreCat/docker-catmandu I'd rename or add catmandu-all with ''all'' available Catmandu modules (can be retrieved via Catmandu::Importer::Purr).
PR #346 contains the requested changes.
This modifies #344 to only build a minimal Docker image with Catmandu core. For properly tagged images, variable
CATMANDU_VERSION
indocker/Dockerfile
must be updated before a new release so it will match the git tag! Unfortunately docker hub cannot access files below thedocker
directory and symlinks neither work, sodist.ini
should be extended to automatically update the file such asBuild.PL
is updated. The docker image should also be documented in Pod to description ends up inREADME.md
.The default command in Dockerfile may also be replaced with
ENTRYPOINT ["catmandu"]
andCMD ["help"]
instead of an interactive shell.