Skip to content

Commit

Permalink
fix duplicated arg. -c
Browse files Browse the repository at this point in the history
  • Loading branch information
leo-schick committed Jun 15, 2022
1 parent 3df0428 commit ca00f30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mara_pipelines/contexts/docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def __init__(self, container: str, context: str = None):
self.bash_command_string = ('/usr/bin/env docker'
+ (f' --context={context}' if context else '')
+ f' exec -i {container}'
+ f' bash -o pipefail -c')
+ f' bash -o pipefail')


class DockerComposeBashExecutionContext(_LocalShellExecutionContext):
Expand All @@ -30,4 +30,4 @@ def __init__(self, container: str, context: str = None, compose_project_name: st
+ (f' --context={context}' if context else '')
+ ' compose'
+ f' exec -i {container}'
+ f' bash -o pipefail -c')
+ f' bash -o pipefail')

0 comments on commit ca00f30

Please sign in to comment.