Build failed with exit code 2
tejas-hosamani opened this issue · 0 comments
tejas-hosamani commented
Error:
Step 22/35 : RUN chmod u+x /tmp/do_we_need_xdebug.sh && /tmp/do_we_need_xdebug.sh
---> Running in 7fea5667aeee
: invalid option
Usage: /bin/bash [GNU long option] [option] ...
/bin/bash [GNU long option] [option] script-file ...
GNU long options:
--debug
--debugger
--dump-po-strings
--dump-strings
--help
--init-file
--login
--noediting
--noprofile
--norc
--posix
--pretty-print
--rcfile
--restricted
--verbose
--version
Shell options:
-ilrsD or -c command or -O shopt_option (invocation only)
-abefhkmnptuvxBCHP or -o option
ERROR: Service 'supervisord' failed to build: The command '/bin/sh -c chmod u+x /tmp/do_we_need_xdebug.sh && /tmp/do_we_need_xdebug.sh' returned a non-zero code: 2
OS: Win 10 64 bit
Using Docker for Windows.
Any idea what's causing this issue?