Skip to content

Commit 82bf85f

Browse files
committed
Dockerfile update to support otel
1 parent a3bfb0a commit 82bf85f

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

bq2bq/Dockerfile

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,17 @@
11
FROM python:3.8-alpine
22

3+
RUN apk add --no-cache \
4+
gcc \
5+
g++ \
6+
python3-dev \
7+
musl-dev \
8+
linux-headers
9+
310
WORKDIR /opt/bumblebee
411

512
COPY . .
613
RUN ["pip", "install", "-r", "requirements.txt"]
7-
RUN ["pip", "install", "opentelemetry-sdk", "opentelemetry-distro", "opentelemetry-exporter-otlp", "opentelemetry-instrumentation-system-metrics", "--no-cache-dir"]
14+
RUN ["pip", "install", "--no-deps", "opentelemetry-sdk", "opentelemetry-distro", "opentelemetry-exporter-otlp", "opentelemetry-instrumentation-system-metrics", "--no-cache-dir"]
815
ENTRYPOINT [ "python3", "/opt/bumblebee/main.py"]
916

1017

0 commit comments

Comments
 (0)