Skip to content

Commit

Permalink
Merge pull request #308 from whole-tale/repo2docker-version
Browse files Browse the repository at this point in the history
Use repo2docker version from gwvolman constants
  • Loading branch information
Xarthisius committed Jun 6, 2019
2 parents 28709ad + 7609613 commit 0d41d8d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server/lib/exporters/bag.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
from girder.models.folder import Folder
from girder.utility import JsonEncoder
from . import TaleExporter
from gwvolman.constants import REPO2DOCKER_VERSION


bag_profile = (
Expand Down Expand Up @@ -78,7 +79,7 @@ def stream(self):
run_file = run_tpl.format(
template=container_config['template'],
buildpack=container_config['buildpack'],
repo2docker=container_config.get('repo2docker_version', 'wholetale/repo2docker:latest'),
repo2docker=container_config.get('repo2docker_version', REPO2DOCKER_VERSION),
user=container_config['user'],
port=container_config['port'],
taleId=self.tale['_id'],
Expand Down

0 comments on commit 0d41d8d

Please sign in to comment.