From 14c8ec816fca21ad3d8878e78805aa19e656cade Mon Sep 17 00:00:00 2001 From: Tauriello Gerardo <gerardo.tauriello@unibas.ch> Date: Tue, 2 Jul 2019 11:42:36 +0200 Subject: [PATCH] Update docker/README.rst --- docker/README.rst | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/docker/README.rst b/docker/README.rst index ebed4e994..bc6efa1ae 100644 --- a/docker/README.rst +++ b/docker/README.rst @@ -15,22 +15,19 @@ In order to build OST image: .. code-block:: bash cd <PATH TO OST>/docker - docker build --tag <IMAGE NAME> --build-arg OPENSTRUCTURE_VERSION=<VERSION> -f Dockerfile . + docker build --tag <IMAGE NAME> -f Dockerfile . or if you downloaded the Dockerfile directly: .. code-block:: bash - docker build --tag <IMAGE NAME> --build-arg OPENSTRUCTURE_VERSION=<VERSION> -f <DOCKERFILE NAME> <PATH TO DOCKERFILE DIR> + docker build --tag <IMAGE NAME> -f <DOCKERFILE NAME> <PATH TO DOCKERFILE DIR> -You can chose any image name (tag) eg. ost. The ``OPENSTRUCTURE_VERSION`` -build argument is mandatory and image will not built without it. See -`CHANGELOG <https://git.scicore.unibas.ch/schwede/openstructure/blob/master/CHANGELOG.txt>`_ -for current list of available releases. This is not expected to work for -versions which are much older than the most recent one since the dependencies -might have changed, but it should work for a few versions. If you need the -recipe for an older version, we suggest to get an older recipe from the git -history. +You can chose any image name (tag) eg. ost. +Here we only keep the recipe for the most recent version of OpenStructure. To +build an image for a different version, you can either adapt the +``OPENSTRUCTURE_VERSION`` variable in the recipe or look in the git history for +an older recipe. Testing the image ----------------- -- GitLab