-
-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installing Plone with just pip (without buildout) #89
Comments
@svx @datakurre @jensens @tkimnguyen @thet @Rotonen @david-batranu See https://github.com/plone/plone.docker/tree/no-buildout branch. I also added a auto-build on docker-hub to test it:
It's a starting point to work on. We don't have to completely replace the buildout version, we can provide it as an alternative tag like:
|
Agreed. To replace buildout completely we need
The last one is the most controversial, because it would require including add-ons in site.zcml, because z3c.autoinclude based plugin discovery no longer exist. @jaroel has blogged about that and reasoning for it earlier https://www.fourdigits.nl/blog/installing-plone-5-using-pip/ |
Why setuptools 33.1.1? Newer setuptools versions work, only bootstrap.py does not work with anything newer. Why Alpine Linux? The wheels built according to the manylinux standards are RHEL oriented. Containers are not close enough to the metal to make a difference. Is the python2.7 there UCS2 or UCS4? Could one choose? Ideas on how to move more of the ZServer config generation out of buildout? |
@Rotonen https://github.com/plone/plone.docker/blob/no-buildout/5.1/5.1.0/pip/Dockerfile It's Debian stretch, no pin to setuptools. |
And for Plone 4
Wait for build to finish before running the above command :) https://hub.docker.com/r/plone/plone/builds/ |
We did some work on this during the first week of January. I think this is really a possibility now that the ZServer isn't an issue. Waitress config is much easier to deal with. We ran into the few packages that are still having the autoinclude issue
But I was able to add a site and add and edit content. It appears that the Zope releases have the needed constraints and requirements files we need to build upon, but we are going to need the Plone release process generate a similar set of requirements files. We ran into an issue trying to generate this on our own and ended up falling back to using the The work we did on this is in this repository https://github.com/sixfeetup/dietplonedocker It is heavily based on the work done here and attempts to use some docker best practices to reduce the size of the resulting image. What I see as needed is to fix the following:
Eventually, it would be good to fix all of the various Plone deps so that is a more manageable process that doesn't involve running a buildout to get an export of the current requirements. Until the dep tree is fixed up and you can just Also, I highly recommend using |
Use Plone 5.2.1 and those four packages with |
We should take a look at https://hub.docker.com/r/sixfeetup/dietplonedocker/dockerfile made by @calvinhp |
See discussion https://community.plone.org/t/installing-plone-with-just-pip-without-buildout/5402
The text was updated successfully, but these errors were encountered: