Commit 53be5522 authored by Mitar's avatar Mitar

Updating instructions.

parent 045750bf
Pipeline #95748159 passed with stage
in 5 minutes and 3 seconds
......@@ -3,16 +3,23 @@ Some notes how to manage this repository and [Docker `images` repository](https:
# Adding a new core package version
* In `images` repository:
* Copy latest stable Dockerfile and name it after the new core package version.
For example, `ubuntu-artful-python36-v2018.6.5.dockerfile` to
* For `core` image, copy latest stable Dockerfile and name it after the new core
package version. For example, `ubuntu-artful-python36-v2018.6.5.dockerfile` to
`ubuntu-artful-python36-v2018.7.10.dockerfile`.
* Update in new Dockerfile `FROM` to point to the new version of the `core` image.
* If any of the following fixed package versions has changed, update `base` Dockerfile
to install those versions: `tensorflow-gpu`, `keras`, `Theano`, `torch`. Make sure
CUDA and other dependencies are correct for those new versions.
* Copy Dockerfile for `primitives` Docker image in the same way.
* Update in new `primitives` Dockerfile `FROM` to point to the new version of the `core` image.
* Check the `devel` Dockerfile if there is anything to add from it to the
new Dockerfile (any changes necessary to make the new release work).
* Move old Dockerfiles to `archive`. At most the latest
two versions + `devel` Dockerfile should be in `primitives` directory.
This will disable building Docker images for old versions and
effectively freeze the images for those versions.
* If fixed package versions in the `base` Dockerfile had to be changed, it might
be that only the latest Dockerfile for `core` and `primitives` can be kept,
in that case archive all older versions.
* Make sure these files are moved before moving old primitive annotations
in `primitives` repository. Otherwise images for old versions
might be rebuild without any primitives but we want them preserved.
......
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