Skip to content

Commit

Permalink
Refs #27406 - Squeeze this image
Browse files Browse the repository at this point in the history
  • Loading branch information
avoinea committed Nov 25, 2015
1 parent 9d11ee0 commit 2f4f63a
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
2 changes: 1 addition & 1 deletion instance/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM eeacms/zope:2.13.23
FROM eeacms/zope:2.13.x
MAINTAINER "Alin Voinea" <alin.voinea@eaudeweb.ro>

COPY src/versions.cfg $ZOPE_HOME/
Expand Down
19 changes: 19 additions & 0 deletions instance/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ your non-related EEA projects.
## Supported tags and respective Dockerfile links

- `:latest` [*Dockerfile*](https://github.com/eea/eea.docker.plone/blob/master/instance/Dockerfile) (default)
- `:5.x` [*Dockerfile*](https://github.com/eea/eea.docker.plone/blob/5.x/instance/Dockerfile)
- `:5.0` [*Dockerfile*](https://github.com/eea/eea.docker.plone/blob/5.0/instance/Dockerfile)
- `:4.x` [*Dockerfile*](https://github.com/eea/eea.docker.plone/blob/4.x/instance/Dockerfile)
- `:4.3.7` [*Dockerfile*](https://github.com/eea/eea.docker.plone/blob/4.3.7/instance/Dockerfile)
- `:4.3.6-hotfix20150910` [*Dockerfile*](https://github.com/eea/eea.docker.plone/blob/4.3.6-hotfix20150910/instance/Dockerfile)
- `:4.3.6` [*Dockerfile*](https://github.com/eea/eea.docker.plone/blob/4.3.6/instance/Dockerfile)
Expand Down Expand Up @@ -173,6 +175,23 @@ and then run
In the same way you can provide custom `sources.cfg` and `versions.cfg` or all of
them together.

If your egg has system dependencies, you should define these dependencies
within a file called *requires.yum* inside the egg. For example, eea.converter
requires wkhtmltopdf and ImageMagick, for this:

$ tree /opt/zope/eggs/eea.converter
/opt/zope/eggs/eea.converter
|_ EGG-INFO/requires.yum
|_ ...

$ cat /opt/zope/eggs/eea.converter/EGG-INFO/requires.yum
ImageMagick
http://download.gna.org/wkhtmltopdf/0.12/0.12.2.1/wkhtmltox-0.12.2.1_linux-centos7-amd64.rpm

In this way, this image will know to install these dependencies before starting
Zope.


### ZEO client

Below is an example of `docker-compose.yml` file for `plone` used as a `ZEO` client:
Expand Down

0 comments on commit 2f4f63a

Please sign in to comment.