This commit is contained in:
2025-06-12 06:10:19 +09:00
parent ba269ff064
commit 98298af674
2 changed files with 9 additions and 9 deletions

View File

@ -13,17 +13,17 @@ echo "Build context: $(pwd)"
# Check if Dockerfile exists
if [[ ! -f "Dockerfile" ]]; then
echo "Error: Dockerfile not found in current directory"
exit 1
echo "Error: Dockerfile not found in current directory"
exit 1
fi
# Build with build cache and progress output
docker build \
--tag "${FULL_TAG}" \
--progress=plain \
--build-arg BUILDKIT_INLINE_CACHE=1 \
"${@:2}" \
.
exec docker build \
--tag "${FULL_TAG}" \
--progress=plain \
--build-arg BUILDKIT_INLINE_CACHE=1 \
"${@:2}" \
.
# Display image info
echo "\nBuild completed successfully!"