📜  在 docker build 中运行 shell 脚本 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:49:45.690000             🧑  作者: Mango

代码示例1
#!/bin/bash
set -x
while $1
do
    echo "Press [CTRL+C] to stop.."
    sleep 5
    echo "My second and third argument is $2 & $3"
done