Commit c79e56bf authored by Simon Chabot's avatar Simon Chabot
Browse files

Update documentation with latest images for cubicweb 3.28

parent d15bc5f2ad0d
...@@ -14,8 +14,9 @@ Tags ...@@ -14,8 +14,9 @@ Tags
Images with cubicweb pre-installed: Images with cubicweb pre-installed:
* ``latest``, ``3.27``, ``py37-buster-3.27`` * ``latest``, ``3.28``, ``py37-buster-3.28``
* ``dev``, ``py37-buster-dev`` (built using latest mercurial changeset) * ``dev``, ``py37-buster-dev`` (built using latest mercurial changeset)
* ``3.27``, ``py37-buster-3.27``
* ``3.26``, ``py37-buster-3.26`` * ``3.26``, ``py37-buster-3.26``
* ``3.25``, ``py27-buster-3.25`` * ``3.25``, ``py27-buster-3.25``
* ``py35-stretch-3.27`` * ``py35-stretch-3.27``
...@@ -88,7 +89,7 @@ Example ...@@ -88,7 +89,7 @@ Example
For example, given you're in the source tree of `cubicweb-blog`_:: For example, given you're in the source tree of `cubicweb-blog`_::
FROM logilab/cubicweb:3.27 FROM logilab/cubicweb:3.28
USER root USER root
COPY . /src COPY . /src
RUN pip install -e /src RUN pip install -e /src
...@@ -99,7 +100,7 @@ For example, given you're in the source tree of `cubicweb-blog`_:: ...@@ -99,7 +100,7 @@ For example, given you're in the source tree of `cubicweb-blog`_::
In case of out-of-source tree or not installing from /src directory, you will In case of out-of-source tree or not installing from /src directory, you will
also have to set the ``CUBE`` environment variable:: also have to set the ``CUBE`` environment variable::
FROM logilab/cubicweb:3.27 FROM logilab/cubicweb:3.28
USER root USER root
RUN pip install cubicweb-blog RUN pip install cubicweb-blog
USER cubicweb USER cubicweb
...@@ -112,7 +113,7 @@ onbuild images ...@@ -112,7 +113,7 @@ onbuild images
.. warning:: A lot of magic happen with onbuild images. They are DEPRECATED. .. warning:: A lot of magic happen with onbuild images. They are DEPRECATED.
All images have a ``onbuild`` version by adding the suffix ``-onbuild``. All images have a ``onbuild`` version by adding the suffix ``-onbuild``.
The single tag ``onbuild`` is an alias for py37-buster-3.27-onbuild. The single tag ``onbuild`` is an alias for py37-buster-3.28-onbuild.
These images use the `ONBUILD intruction`_ to copy current code to the build These images use the `ONBUILD intruction`_ to copy current code to the build
context and install your cube in develop mode and create an instance of your cube. context and install your cube in develop mode and create an instance of your cube.
...@@ -223,13 +224,13 @@ buildpackage images ...@@ -223,13 +224,13 @@ buildpackage images
These images can be used to build debian package(s) and publish them to a repo These images can be used to build debian package(s) and publish them to a repo
located in /repo suitable for use within a multi-stage build. located in /repo suitable for use within a multi-stage build.
Example, given all dependencies are available on "deb http://apt.logilab.fr buster cubicweb-3.27" repository and given you're working in the source tree of `cubicweb-blog`_:: Example, given all dependencies are available on "deb http://apt.logilab.fr buster cubicweb-3.28" repository and given you're working in the source tree of `cubicweb-blog`_::
FROM logilab/cubicweb:buildpackage as buildpackage FROM logilab/cubicweb:buildpackage as buildpackage
COPY . /src COPY . /src
RUN buildpackage -d /src RUN buildpackage -d /src
FROM logilab/cubicweb:3.27 FROM logilab/cubicweb:3.28
COPY --from=buildpackage /repo /repo COPY --from=buildpackage /repo /repo
RUN apt-get update && apt-get -y --no-install-recommends install cubicweb-blog RUN apt-get update && apt-get -y --no-install-recommends install cubicweb-blog
ENV CUBE=blog ENV CUBE=blog
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment