Closed sleepyyj closed 2 years ago
Thanks for reporting, @sleepyyj.
The above error indicates that some functions are not POSIX-compliant. It would work if you switched to bash
or zsh
shell, such as bash ./kicker start
or ./kicker start
, for temporarily using.
Are you interested in helping fix this problem? In order to meet POSIX requirements.
Hi, @keroro520. Thanks for your reply. I'm glad to help fix this and I will create a PR maybe tomorrow.
Subject of the issue
I tried
sh ./kicker start
in DinD(docker-in-docker) mode and got the error./kicker: line 103: syntax error: bad function name
.Your environment
Steps to reproduce
Install bash, ncurses, git, curl, yarn, npm, make, cargo, docker, docker-compose and openssl-dev dependency
RUN apk add --no-cache bash ncurses curl yarn npm make docker-compose openssl-dev gcc musl-dev
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
Add .cargo/bin to PATH
ENV PATH="$HOME/.cargo/bin:${PATH}"
Install cargo packages
RUN cargo install moleculec ckb-capsule
docker build -t test-image . docker run -it test-image -v /var/run/docker.sock:/var/run/docker.sock
git clone https://github.com/RetricSu/godwoken-kicker.git cd godwoken-kicker sh ./kicker start