-
Notifications
You must be signed in to change notification settings - Fork 208
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3f20124
commit df7f73a
Showing
6 changed files
with
123 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
tests/e2e/workload-lifecycle/services/python-http-server/Dockerfile.python-other-agent
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
FROM python | ||
|
||
WORKDIR /app | ||
COPY . /app | ||
|
||
# Install dependencies from requirements.txt | ||
COPY requirements.txt /app/requirements.txt | ||
|
||
RUN apt-get update && apt-get install sqlite3 -y | ||
|
||
RUN pip install --no-cache-dir -r requirements.txt | ||
|
||
# Supress health check endpoint from tracing | ||
ENV OTEL_PYTHON_DJANGO_EXCLUDED_URLS=health/ | ||
|
||
COPY entrypoint.sh /entrypoint.sh | ||
|
||
ENV NEW_RELIC_CONFIG_FILE=/app/newrelic.ini | ||
|
||
RUN chmod +x /entrypoint.sh | ||
|
||
ENTRYPOINT ["/entrypoint.sh"] |