-
Notifications
You must be signed in to change notification settings - Fork 33
Running alternative versions branches in a Docker container
Thijs Cobben edited this page Nov 7, 2017
·
12 revisions
- Running different versions within a docker container =======================================================
-
checkout the version you want from git to a folder say $B2SHARE_DIR
-
from there you run .. code-block:: console $ docker build -t "image_name" -f dockerize/Dockerfile .
-
checkout the dockerize folder
-
change the following line: https://github.com/EUDAT-B2SHARE/dockerize/blob/master/docker-compose.yml#L15 .. code-block: console build: image_name
where "image_name" is the string that you provided in the docker build command above. Now you can run docker-compose up from that directory.