Closed lyj0309 closed 1 year ago
works fine for me -- is the shebang wrong on your executable? also generally you shouldn't chmod as a layer and instead have it be executable outside your image
works fine for me -- is the shebang wrong on your executable? also generally you shouldn't chmod as a layer and instead have it be executable outside your image
I find the problem, I use bash on run.sh to run my program, but alpine not have bash, only sh. Thanks a lot about your suggest
when i try to use alpine to build my image, there is a error, output is
[dumb-init] /run.sh: No such file or directory
but when i use docker cp xxx:/run.sh . , it's work, so the file is here but dumb-init can't find it.