mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 00:34:13 +01:00
Develop: Upgrade base image from 220302 to 220311-bullseye #2076
Dockerfiles were also updated for improved readability.
This commit is contained in:
@@ -19,7 +19,6 @@ if [[ $1 ]] && [[ -z $2 || $2 == "preview" ]]; then
|
||||
echo "Build Tags: preview"
|
||||
|
||||
docker build \
|
||||
--pull \
|
||||
--no-cache \
|
||||
--build-arg BUILD_TAG=$BUILD_DATE \
|
||||
-t photoprism/$1:preview \
|
||||
@@ -32,7 +31,6 @@ elif [[ $2 =~ $NUMERIC ]]; then
|
||||
fi
|
||||
|
||||
docker build $4\
|
||||
--pull \
|
||||
--no-cache \
|
||||
--build-arg BUILD_TAG=$2 \
|
||||
-t photoprism/$1:latest \
|
||||
@@ -46,7 +44,6 @@ elif [[ $2 == *"preview"* ]]; then
|
||||
fi
|
||||
|
||||
docker build $4\
|
||||
--pull \
|
||||
--no-cache \
|
||||
--build-arg BUILD_TAG=$BUILD_DATE \
|
||||
-t photoprism/$1:$2 \
|
||||
@@ -59,7 +56,6 @@ else
|
||||
fi
|
||||
|
||||
docker build $4\
|
||||
--pull \
|
||||
--no-cache \
|
||||
--build-arg BUILD_TAG=$BUILD_DATE-$2 \
|
||||
-t photoprism/$1:$2 \
|
||||
|
||||
Reference in New Issue
Block a user