2023-11-14 23:04:56 +09:00
|
|
|
#!/bin/sh
|
2023-11-12 05:31:20 +09:00
|
|
|
set -eu
|
|
|
|
|
2023-11-14 23:04:56 +09:00
|
|
|
. neko/update/utils
|
2023-11-12 05:31:20 +09:00
|
|
|
|
|
|
|
pull() {
|
|
|
|
say "Pulling the image..."
|
|
|
|
docker pull docker.io/naskya/firefish
|
|
|
|
}
|
|
|
|
|
|
|
|
if ! pull; then
|
|
|
|
say "awawa, the image may not be compatible with your environment..."
|
|
|
|
say "Gonnya try building the image locally!"
|
2023-11-17 16:25:39 +09:00
|
|
|
|
|
|
|
say "It takes some time! Why not brew a cup of cofe?"
|
2023-11-14 23:54:37 +09:00
|
|
|
docker build --tag docker.io/naskya/firefish --build-arg VERSION="$(version)" .
|
2023-11-12 05:31:20 +09:00
|
|
|
fi
|
|
|
|
|
|
|
|
say "Done!"
|