Docker build plugin, An error is reported when executing the command

Viewed 123

script/build_plugin.sh

image.png

=> ERROR [golang-builder 6/8] RUN ["/bin/bash", "-c", "script/build_plugin. sh"]
------
> [golang-builder 6/8] RUN ["/bin/bash", "-C", "script/build _plugin.sh"]:
0.450 /bin/bash: line 1: script/build plugin.sh: cannot execute: required file not found
------

What's the problem? Everything seems fine. Didn't it work when you copied it?

image.png

2 Answers

You can make sure that you are in a directory that contains script/build_plugin.sh. Normally it should be there.

BTW, what build command are you using? docker build -t answer .?

Yes, that's it. docker build -t answer .

"You can make sure that you are in a directory that contains script/build_plugin.sh. Normally it should be there."
image.png
Is that what you're referring to?