entrypoint 脚本后, 运行提示一下错误:
standard_init_linux.go:228: exec user process caused: exec format error
code-server --config /code-server/config.yaml /app # 你的脚本内容
The shebang is always on the first line of the script, and is composed of
#!Characters. So the Shebang (
#!/bin/bash) should be put on the first line of the script because the first bytes were checked by kernel. So we add the shebang in the script.