dev: minor update in docker.sh
This commit is contained in:
parent
21a07539a3
commit
69a3bacb32
1 changed files with 5 additions and 2 deletions
|
@ -5,7 +5,7 @@ set -eu
|
|||
|
||||
pull() {
|
||||
say 'Pulling the image...'
|
||||
docker pull docker.io/naskya/firefish
|
||||
run 'docker pull docker.io/naskya/firefish'
|
||||
}
|
||||
|
||||
if ! pull; then
|
||||
|
@ -13,7 +13,10 @@ if ! pull; then
|
|||
say 'Gonnya try building the image locally!'
|
||||
|
||||
say 'It takes some time! Why not brew a cup of cofe?'
|
||||
docker build --tag docker.io/naskya/firefish --build-arg VERSION="$(version)" .
|
||||
run "$(cat - << EOC
|
||||
docker build --tag docker.io/naskya/firefish --build-arg VERSION="$(version)" .
|
||||
EOC
|
||||
)"
|
||||
fi
|
||||
|
||||
say 'Done!'
|
||||
|
|
Loading…
Reference in a new issue