1 Star 0 Fork 6

wulaohu/sponge

forked from Eric Ling/sponge 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
entrypoint.sh 500 Bytes
一键复制 编辑 原始数据 按行查看 历史
#!/bin/bash
# Check if the TARGET_APP environment variable is set
if [ -z "$TARGET_APP" ]
then
echo "TARGET_APP environment variable is not set. Exiting."
exit 1
fi
# Check if the target executable exists and is executable
if [ -x "/sponge/bin/$TARGET_APP" ]
then
echo "Running /sponge/bin/$TARGET_APP with arguments: $@"
/sponge/bin/"$TARGET_APP" "$@" # Execute the target with additional arguments
else
echo "Target $TARGET_APP does not exist or is not executable. Exiting."
exit 1
fi
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/wulaohu/sponge.git
git@gitee.com:wulaohu/sponge.git
wulaohu
sponge
sponge
main

搜索帮助

0d507c66 1850385 C8b1a773 1850385