Skip to content

Commit

Permalink
Add local namespaced resolver to default container resolvers
Browse files Browse the repository at this point in the history
The mulled container resolvers are building containers that are
namespaced to "local", so I think it makes a lot of sense to
include local in the defaults. This prevents planemo from
building the same image over and over again when run with
`--biocontainers`.
  • Loading branch information
mvdbeek committed May 6, 2019
1 parent 6508265 commit bfdc471
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/galaxy/tools/deps/containers.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,9 @@ def __default_containers_resolvers(self):
if self.enable_beta_mulled_containers:
default_resolvers.extend([
CachedMulledDockerContainerResolver(self.app_info, namespace="biocontainers"),
CachedMulledDockerContainerResolver(self.app_info, namespace="local"),
CachedMulledSingularityContainerResolver(self.app_info, namespace="biocontainers"),
CachedMulledSingularityContainerResolver(self.app_info, namespace="local"),
MulledDockerContainerResolver(self.app_info, namespace="biocontainers"),
MulledSingularityContainerResolver(self.app_info, namespace="biocontainers"),
BuildMulledDockerContainerResolver(self.app_info),
Expand Down

0 comments on commit bfdc471

Please sign in to comment.