mirror of
https://github.com/clearml/clearml-agent
synced 2025-03-03 10:42:05 +00:00
Fix docker build with no --entry-point to use bash as an entrypoint
This commit is contained in:
parent
3651c85fcd
commit
522dd85d7b
@ -1150,7 +1150,7 @@ class Worker(ServiceCommandSection):
|
|||||||
clone=("--clone" if entry_point == "clone_task" else ""),
|
clone=("--clone" if entry_point == "clone_task" else ""),
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
change = None
|
change = 'ENTRYPOINT bash'
|
||||||
|
|
||||||
print('Committing docker container to: {}'.format(target))
|
print('Committing docker container to: {}'.format(target))
|
||||||
print(commit_docker(container_name=target, docker_id=docker_id, apply_change=change))
|
print(commit_docker(container_name=target, docker_id=docker_id, apply_change=change))
|
||||||
|
Loading…
Reference in New Issue
Block a user