Skip to content

Conversation

Copy link

Copilot AI commented Oct 30, 2025

  • Add Docker Compose installation instructions to README.rst
  • Include example Dockerfile, requirements.txt, and enhance-image.sh
  • Update note to mention pip freeze as simpler method for getting version with hash
  • Fix conventional commit format for CI pipeline
Original prompt

This section details on the original issue you should resolve

<issue_title>how to use with docker compose</issue_title>
<issue_description>Hi,

we are using the docker compose setup.
in which container do we have to the run the pip command?

regards</issue_description>

<agent_instructions>Just add this to the docs</agent_instructions>

Comments on the Issue (you are @copilot in this section)

@max-wittig Inside the web container. We're doing something like this. I think its enough to create the requirements.txt file as far as I know

requirements.txt

sentry-auth-oidc==9.0.0 \
    --hash=sha256:14ba07eb49520a18dd91909493af928c875c405178594b44aae2e37b5d579320

Dockerfile

FROM getsentry/sentry:{{ sentry_version }}

COPY . /usr/src/sentry

RUN if [ -s /usr/src/sentry/enhance-image.sh ]; then \
    /usr/src/sentry/enhance-image.sh; \
fi

enhance-image.sh

#!/bin/bash

set -e

apt-get update
apt-get install --no-install-recommends -y git

if [ -s /usr/src/sentry/requirements.txt ]; then
    pip install -U -r /usr/src/sentry/requirements.txt
fi

git apply /usr/src/sentry/*.patch
```</body></comment_new>
</comments>

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Copilot AI changed the title [WIP] Add instructions for using pip with docker compose Add Docker Compose installation instructions Oct 30, 2025
Copilot AI requested a review from max-wittig October 30, 2025 18:07
Copilot finished work on behalf of max-wittig October 30, 2025 18:07
Copilot AI requested a review from max-wittig October 30, 2025 18:19
Copilot finished work on behalf of max-wittig October 30, 2025 18:19
Copilot finished work on behalf of max-wittig October 30, 2025 18:21
Copilot finished work on behalf of max-wittig October 30, 2025 18:31
@max-wittig max-wittig marked this pull request as ready for review October 30, 2025 18:53
@max-wittig
Copy link
Member

@copilot Make the pipeline pass

Copy link
Author

Copilot AI commented Oct 30, 2025

@copilot Make the pipeline pass

Fixed the commitlint failure by adding a commit with proper conventional commit format. The previous commits didn't follow the required type: subject format. Commit 6bbf76b

Copilot finished work on behalf of max-wittig October 30, 2025 19:05
@max-wittig max-wittig force-pushed the copilot/add-docker-compose-docs branch from 6bbf76b to 8d49b3c Compare October 30, 2025 19:21
@max-wittig max-wittig requested a review from dlouzan October 31, 2025 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

how to use with docker compose

3 participants