Today I explain why I use RUN + a colon in a dockerfile with multiple commands!
git init .
git status
git add Dockerfile
git status
git diff
man bash
true foo bar arg
echo $?
: foo bar arg
echo $?
bash t.sh
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||
Today I explain why I use RUN + a colon in a dockerfile with multiple commands!
git init .
git status
git add Dockerfile
git status
git diff
man bash
true foo bar arg
echo $?
: foo bar arg
echo $?
bash t.sh