php-fpm/build-all.sh

18 lines
314 B
Bash
Raw Normal View History

2023-10-14 23:50:51 +05:00
#!/bin/bash
#COMPOSE_DOCKER_CLI_BUILD=1
#DOCKER_BUILDKIT=1
#DOCKER_DEFAULT_PLATFORM=linux/amd64
# Loop through each directory
for dir in */; do
# Change into the directory
cd "$dir"
# Run docker build and push
2023-10-14 23:52:13 +05:00
docker buildx bake --load
2023-10-14 23:50:51 +05:00
# Change back to the parent directory
cd ..
done