@@ -18,7 +18,7 @@ This chapter covers Plone backend [Docker](https://www.docker.com/) images using
1818### Simple usage
1919
2020``` shell
21- docker run -p 8080:8080 plone/plone-backend:{PLONE_BACKEND_VERSION } start
21+ docker run -p 8080:8080 plone/plone-backend:{PLONE_BACKEND_MINOR_VERSION } start
2222```
2323
2424Then point your browser at ` http://localhost:8080 ` .
@@ -62,7 +62,7 @@ Plone 6 example:
6262
6363``` shell
6464# Makes Zope listen to port 8081 instead of the default 8080.
65- docker run -p 8081:8081 -e LISTEN_PORT=8081 plone/plone-backend:{PLONE_BACKEND_VERSION }
65+ docker run -p 8081:8081 -e LISTEN_PORT=8081 plone/plone-backend:{PLONE_BACKEND_MINOR_VERSION }
6666```
6767
6868### Site creation variables
@@ -84,13 +84,13 @@ To recreate the Plone site when restarting the container, you can pass the `DELE
8484Plone 6 example:
8585
8686``` shell
87- docker run -p 8080:8080 -e ADDONS=" eea.api.layout" -e SITE=" Plone" -e PROFILES=" eea.api.layout:default" plone/plone-backend:{PLONE_BACKEND_VERSION }
87+ docker run -p 8080:8080 -e ADDONS=" eea.api.layout" -e SITE=" Plone" -e PROFILES=" eea.api.layout:default" plone/plone-backend:{PLONE_BACKEND_MINOR_VERSION }
8888```
8989
9090Plone 6 Classic example:
9191
9292``` shell
93- docker run -p 8080:8080 -e ADDONS=" eea.facetednavigation" -e SITE=" Plone" -e TYPE=" classic" -e PROFILES=" eea.facetednavigation:default" plone/plone-backend:{PLONE_BACKEND_VERSION }
93+ docker run -p 8080:8080 -e ADDONS=" eea.facetednavigation" -e SITE=" Plone" -e TYPE=" classic" -e PROFILES=" eea.facetednavigation:default" plone/plone-backend:{PLONE_BACKEND_MINOR_VERSION }
9494```
9595
9696``` {warning}
@@ -124,7 +124,7 @@ version: "3"
124124services :
125125
126126 backend :
127- image : plone/plone-backend:{PLONE_BACKEND_VERSION }
127+ image : plone/plone-backend:{PLONE_BACKEND_MINOR_VERSION }
128128 restart : always
129129 environment :
130130 ZEO_ADDRESS : zeo:8100
@@ -192,7 +192,7 @@ version: "3"
192192services :
193193
194194 backend :
195- image : plone/plone-backend:{PLONE_BACKEND_VERSION }
195+ image : plone/plone-backend:{PLONE_BACKEND_MINOR_VERSION }
196196 environment :
197197 RELSTORAGE_DSN : " dbname='plone' user='plone' host='db' password='plone'"
198198 ports :
@@ -241,7 +241,7 @@ To do so, pass the `ADDONS` environment variable with a space separated list of
241241(see below for documentation of the supported variables) :
242242
243243` ` ` shell
244- docker run -p 8080:8080 -e ADDONS="pas.plugins.authomatic" plone/plone-backend:{PLONE_BACKEND_VERSION } start
244+ docker run -p 8080:8080 -e ADDONS="pas.plugins.authomatic" plone/plone-backend:{PLONE_BACKEND_MINOR_VERSION } start
245245` ` `
246246
247247After Plone has started, you can add your Plone site (if none exists yet) and install the added
@@ -250,7 +250,7 @@ add-ons to your site.
250250This approach also allows you to test Plone with a specific version of one of its core components
251251
252252` ` ` shell
253- docker run -p 8080:8080 -e ADDONS="plone.volto==3.1.0a3" plone/plone-backend:{PLONE_BACKEND_VERSION } start
253+ docker run -p 8080:8080 -e ADDONS="plone.volto==3.1.0a3" plone/plone-backend:{PLONE_BACKEND_MINOR_VERSION } start
254254` ` `
255255
256256# ### Add-on variables
@@ -286,13 +286,13 @@ extend the official container images to include your desired add-ons in your own
286286` ` `
287287
288288` ` ` shell
289- docker run -p 8080:8080 -e DEVELOP="/app/src/mysite.policy" plone/plone-backend:{PLONE_BACKEND_VERSION } start
289+ docker run -p 8080:8080 -e DEVELOP="/app/src/mysite.policy" plone/plone-backend:{PLONE_BACKEND_MINOR_VERSION } start
290290` ` `
291291
292292This approach also allows you to develop local packages by using a volume.
293293
294294` ` ` shell
295- docker run -p 8080:8080 -e DEVELOP="/app/src/mysite.policy" -v /path/to/mysite.policy:/app/src/mysite.policy plone/plone-backend:{PLONE_BACKEND_VERSION } start
295+ docker run -p 8080:8080 -e DEVELOP="/app/src/mysite.policy" -v /path/to/mysite.policy:/app/src/mysite.policy plone/plone-backend:{PLONE_BACKEND_MINOR_VERSION } start
296296` ` `
297297
298298(backend-extending-from-this-image-label)=
@@ -302,7 +302,7 @@ docker run -p 8080:8080 -e DEVELOP="/app/src/mysite.policy" -v /path/to/mysite.p
302302In a directory create a `Dockerfile` file :
303303
304304` ` ` Dockerfile
305- FROM plone/plone-backend:{PLONE_BACKEND_VERSION }
305+ FROM plone/plone-backend:{PLONE_BACKEND_MINOR_VERSION }
306306
307307RUN apt-get update \
308308 && apt-get install -y --no-install-recommends gcc \
0 commit comments