2
0

feat(compose): Add ability to use custom images for any Sentry service (#602)

This change allows one to override any Sentry service image, mostly for testing purposes. It also removes the SENTRY_VERSION variable as docker-compose makes it very hard to cascade default values for these. Next step is to have integration tests in getsentry/snuba and getsentry/relay (and possibly for getsentry/symbolicator) for getsentry/onpremise using this PR.

Also related: #596.
This commit is contained in:
Burak Yigit Kaya
2020-07-17 15:02:45 +03:00
committed by GitHub
parent e82506f5b7
commit 86864d0edf
4 changed files with 12 additions and 12 deletions

View File

@ -1,6 +1,5 @@
ARG SENTRY_VERSION=latest
ARG SENTRY_IMAGE
FROM ${SENTRY_IMAGE:-getsentry/sentry:$SENTRY_VERSION}
FROM ${SENTRY_IMAGE}
COPY . /usr/src/sentry