Skip to content

Commit b44a58f

Browse files
author
Matthew Fisher
committed
Revert "fix(controller): use /bin/sh as entrypoint for run"
This reverts commit 92cb26a.
1 parent b28f5c5 commit b44a58f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

controller/api/tasks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def run_command(c, command):
9191
if rc != 0:
9292
raise EnvironmentError('Could not pull image: {image}'.format(**locals()))
9393
# run the command
94-
docker_args = ' '.join(['--entrypoint=/bin/sh',
94+
docker_args = ' '.join(['--entrypoint=/bin/bash',
9595
'-a', 'stdout', '-a', 'stderr', '--rm', image])
9696
escaped_command = command.replace("'", "'\\''")
9797
command = r"docker run {docker_args} -c \'{escaped_command}\'".format(**locals())

0 commit comments

Comments
 (0)