86864d0edf
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.
8 lines
209 B
Docker
8 lines
209 B
Docker
ARG SENTRY_IMAGE
|
|
FROM ${SENTRY_IMAGE}
|
|
|
|
COPY . /usr/src/sentry
|
|
|
|
# Hook for installing additional plugins
|
|
RUN if [ -s /usr/src/sentry/requirements.txt ]; then pip install -r /usr/src/sentry/requirements.txt; fi
|