IOPaint/build_docker.sh

22 lines
615 B
Bash
Raw Permalink Normal View History

2022-10-08 06:55:51 +02:00
#!/usr/bin/env bash
set -e
2022-11-01 02:09:43 +01:00
GIT_TAG=$1
2022-10-08 06:55:51 +02:00
IMAGE_DESC="Image inpainting tool powered by SOTA AI Model"
2024-08-20 20:36:32 +02:00
GIT_REPO="https://git.kmpr.at/kamp/IOPaint"
2022-10-08 06:55:51 +02:00
echo "Building cpu docker image..."
docker buildx build \
2023-11-01 14:14:29 +01:00
--platform linux/amd64 \
2022-10-08 06:55:51 +02:00
--file ./docker/CPUDockerfile \
2024-08-20 20:36:32 +02:00
--label org.opencontainers.image.title=imagesorter-inpaint \
2022-10-08 06:55:51 +02:00
--label org.opencontainers.image.description="$IMAGE_DESC" \
--label org.opencontainers.image.url=$GIT_REPO \
--label org.opencontainers.image.source=$GIT_REPO \
--label org.opencontainers.image.version=$GIT_TAG \
2022-11-01 02:09:43 +01:00
--build-arg version=$GIT_TAG \
2024-08-20 20:36:32 +02:00
--tag kamp/imagesorter-inpaint:cpu-$GIT_TAG .
2022-10-08 06:55:51 +02:00