Skip to content

Commit 3bb7623

Browse files
micah5antonbabenko
andauthored
fix: Override docker entrypoint when it exists (#316)
Co-authored-by: Anton Babenko <[email protected]>
1 parent 2a7b5b4 commit 3bb7623

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

package.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1129,6 +1129,8 @@ def docker_run_command(build_root, command, runtime,
11291129
if not image:
11301130
image = 'public.ecr.aws/sam/build-{}'.format(runtime)
11311131

1132+
docker_cmd.extend(['--entrypoint', ''])
1133+
11321134
docker_cmd.append(image)
11331135

11341136
assert isinstance(command, list)

0 commit comments

Comments
 (0)