diff --git a/install/build-docker-images.sh b/install/build-docker-images.sh index 5fb45e7f31..652b55fa67 100644 --- a/install/build-docker-images.sh +++ b/install/build-docker-images.sh @@ -4,7 +4,9 @@ echo "" # Build any service that provides the image sentry-self-hosted-local first, # as it is used as the base image for sentry-cleanup-self-hosted-local. $dc build --build-arg "http_proxy=${http_proxy:-}" --build-arg "https_proxy=${https_proxy:-}" --build-arg "no_proxy=${no_proxy:-}" --force-rm web -$dc build --build-arg "http_proxy=${http_proxy:-}" --build-arg "https_proxy=${https_proxy:-}" --build-arg "no_proxy=${no_proxy:-}" --force-rm +for service in "$($dc config --services)"; do + $dc build --build-arg "http_proxy=${http_proxy:-}" --build-arg "https_proxy=${https_proxy:-}" --build-arg "no_proxy=${no_proxy:-}" --force-rm $service +done # Used in error-handling.sh for error envelope payloads docker build -t sentry-self-hosted-jq-local --platform=$DOCKER_PLATFORM $basedir/jq echo ""