Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docker: use
CMD
instead of ENTRYPOINT
- Loading branch information
fce94d4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Curious why you changed this? The former lets you pass flags a bit easier without having to restate the executable in addition to the image name. Is there a use case for using an entrypoint other than sips?
With the former entrypoint:
With cmd:
This project looks pretty neat btw!
fce94d4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. I changed it because it made
sipsctl
awkward to use. You had to dodocker run --entrypoint sipsctl sips <sipsctl args>
.fce94d4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, gotcha, I missed that those were separate binaries. Makes sense!