Skip to content

Commit

Permalink
fix: Override docker entrypoint when it exists (#316)
Browse files Browse the repository at this point in the history
Co-authored-by: Anton Babenko <[email protected]>
  • Loading branch information
micah5 and antonbabenko authored Sep 17, 2022
1 parent 2a7b5b4 commit 3bb7623
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions package.py
Original file line number Diff line number Diff line change
Expand Up @@ -1129,6 +1129,8 @@ def docker_run_command(build_root, command, runtime,
if not image:
image = 'public.ecr.aws/sam/build-{}'.format(runtime)

docker_cmd.extend(['--entrypoint', ''])

docker_cmd.append(image)

assert isinstance(command, list)
Expand Down

0 comments on commit 3bb7623

Please sign in to comment.