We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c7a96ac commit db1f2a7Copy full SHA for db1f2a7
autoinstrumentation/python/Dockerfile
@@ -17,8 +17,18 @@ ADD requirements.txt .
17
18
RUN mkdir workspace && pip install --target workspace -r requirements.txt
19
20
+FROM python:3.11-alpine AS build-musl
21
+
22
+WORKDIR /operator-build
23
24
+ADD requirements.txt .
25
26
+RUN apk add --update --no-cache gcc musl-dev linux-headers
27
+RUN mkdir workspace && pip install --target workspace -r requirements.txt
28
29
FROM busybox
30
-COPY --from=build /operator-build/workspace /autoinstrumentation
31
+COPY --from=build /operator-build/workspace /autoinstrumentation/linux-x64
32
+COPY --from=build-musl /operator-build/workspace /autoinstrumentation/linux-musl-x64
33
34
RUN chmod -R go+r /autoinstrumentation
0 commit comments