Skip to content

Commit

Permalink
Build each service image individually (#1858)
Browse files Browse the repository at this point in the history
Fixes #1847
  • Loading branch information
ethanhs authored Dec 9, 2022
1 parent dbb89bf commit 6b09d0a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion install/build-docker-images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 ""
Expand Down

0 comments on commit 6b09d0a

Please sign in to comment.