M4-M5: index strips and Lucio branding
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
6d39dc1713
commit
45105d292f
47 files changed
+2016
-210
No files matched your search
+16
-1
@@ -17,7 +17,22 @@ case "$(uname -s)" in
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ "${LUPHOTO_DEV_REBUILD:-0}" = "1" ] || ! docker image inspect "$image" >/dev/null 2>&1; then
|
||||
image_present() {
|
||||
local attempt
|
||||
for attempt in 1 2 3; do
|
||||
if [ -n "$(docker images -q "$image" 2>/dev/null)" ]; then
|
||||
return 0
|
||||
fi
|
||||
sleep 1
|
||||
done
|
||||
return 1
|
||||
}
|
||||
|
||||
if [ "${LUPHOTO_DEV_REBUILD:-0}" = "1" ] || ! image_present; then
|
||||
if [ "$image" != "luphoto-dev" ] && [ "${LUPHOTO_DEV_REBUILD:-0}" != "1" ]; then
|
||||
echo "dev.sh: image $image not found" >&2
|
||||
exit 1
|
||||
fi
|
||||
docker build -t "$image" -f "$scripts_host/dev.Dockerfile" "$scripts_host"
|
||||
fi
|
||||
|
||||
|
||||
Reference in new issue
Block a user