File tree Expand file tree Collapse file tree 3 files changed +10
-7
lines changed
Expand file tree Collapse file tree 3 files changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ the release.
2323 ([ #2179 ] ( https://github.com/open-telemetry/opentelemetry-demo/pull/2179 ) )
2424* [ load-generator] change image from alpine to distroless to reduce size
2525 ([ #2164 ] ( https://github.com/open-telemetry/opentelemetry-demo/pull/2164 ) )
26- * [ recommendation] change image from alpine to distroless to reduce size
26+ * [ recommendation] change image from bookworm to alpine to reduce size
2727 ([ #2164 ] ( https://github.com/open-telemetry/opentelemetry-demo/pull/2164 ) )
2828
2929## 2.0.2
Original file line number Diff line number Diff line change 22# SPDX-License-Identifier: Apache-2.0
33
44
5- FROM python:3.12-slim-bookworm AS build-venv
5+ FROM python:3.12-alpine3.21 AS build-venv
6+
7+ RUN apk update && \
8+ apk add gcc g++ linux-headers
69
710COPY ./src/recommendation/requirements.txt requirements.txt
811
9- RUN python -m venv venv
10- RUN venv/bin/pip install --no-cache-dir -r requirements.txt
12+ RUN python -m venv venv && \
13+ venv/bin/pip install --no-cache-dir -r requirements.txt
1114
1215RUN venv/bin/opentelemetry-bootstrap -a install
1316
14- FROM gcr.io/distroless/python3-debian12:nonroot
17+ FROM python:3.12-alpine3.21
1518
1619COPY --from=build-venv /venv/ /venv/
1720
Original file line number Diff line number Diff line change 1- grpcio-health-checking == 1.70 .0
2- grpcio == 1.70 .0
1+ grpcio-health-checking == 1.71 .0
2+ grpcio == 1.71 .0
33opentelemetry-distro == 0.51b0
44opentelemetry-exporter-otlp-proto-grpc == 1.30.0
55python-dotenv == 1.0.1
You can’t perform that action at this time.
0 commit comments