小草林(田梓萱)
90db12dfc0
Some checks failed
Lock closed issues/PRs / lock (push) Has been cancelled
Test / Sentry self-hosted end-to-end tests (push) Has been cancelled
Test / unit tests (push) Has been cancelled
Test / Sentry upgrade test (push) Has been cancelled
Test / integration test v2.19.0 - customizations disabled (push) Has been cancelled
Test / integration test v2.19.0 - customizations enabled (push) Has been cancelled
Test / integration test v2.26.0 - customizations disabled (push) Has been cancelled
Test / integration test v2.26.0 - customizations enabled (push) Has been cancelled
Signed-off-by: 小草林(田梓萱) <xcl@xuegao-tzx.top>
14 lines
423 B
Docker
14 lines
423 B
Docker
ARG SENTRY_IMAGE
|
|
FROM ${SENTRY_IMAGE}
|
|
|
|
COPY . /usr/src/sentry
|
|
|
|
RUN if [ -s /usr/src/sentry/enhance-image.sh ]; then \
|
|
/usr/src/sentry/enhance-image.sh; \
|
|
fi
|
|
|
|
RUN if [ -s /usr/src/sentry/requirements.txt ]; then \
|
|
echo "sentry/requirements.txt is deprecated, use sentry/enhance-image.sh - see https://develop.sentry.dev/self-hosted/#enhance-sentry-image"; \
|
|
pip install -r /usr/src/sentry/requirements.txt; \
|
|
fi
|