I have an entrypoint defines as ENTRYPOINT ["/bin/sh"]
in Dockerfile
. The docker image contains most of the shell scripts. But later on I added a Golan scripts, which I want to run from kubernetes job. But due to entrypoint defined as /bin/sh
, it gives me error No such file or directory
when I try to run the compiled and installed go binary through args
in yml of kubernetes job's deployment descriptor.
Any well defined way to achieve such goal?
所有评论(0)