File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -476,7 +476,7 @@ def run(self, command):
476476 'to run this command' )
477477 image = self .release .image
478478 job_id = self ._job_id
479- entrypoint = '/bin/bash '
479+ entrypoint = '/bin/sh '
480480 # if this is a procfile-based app, switch the entrypoint to slugrunner's default
481481 # FIXME: remove slugrunner's hardcoded entrypoint
482482 if self .release .build .procfile and \
Original file line number Diff line number Diff line change @@ -499,12 +499,12 @@ def test_run_command_good(self):
499499 num = 1 )
500500 rc , output = c .run ('echo hi' )
501501 self .assertEqual (rc , 0 )
502- self .assertEqual (json .loads (output )['entrypoint' ], '/bin/bash ' )
502+ self .assertEqual (json .loads (output )['entrypoint' ], '/bin/sh ' )
503503 # docker image workflow
504504 build .dockerfile = None
505505 build .sha = None
506506 rc , output = c .run ('echo hi' )
507- self .assertEqual (json .loads (output )['entrypoint' ], '/bin/bash ' )
507+ self .assertEqual (json .loads (output )['entrypoint' ], '/bin/sh ' )
508508 # procfile workflow
509509 build .sha = 'somereallylongsha'
510510 rc , output = c .run ('echo hi' )
You can’t perform that action at this time.
0 commit comments