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:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user