fix OpenTelemtry image build (#10888)

* fix OpenTelemtry image build

* use fpic
This commit is contained in:
Ehsan Saei 2024-01-21 21:56:39 +01:00 committed by GitHub
parent 256374079f
commit 8227888ba0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 65 additions and 8 deletions

View file

@ -28,16 +28,12 @@ ENV NINJA_STATUS "[%p/%f/%t] "
# install gRPC
FROM base as grpc
RUN bash /opt/third_party/build.sh -g v1.57.0
RUN bash /opt/third_party/build.sh -g v1.60.0
# install abseil-cpp
FROM base as absl-cpp
RUN bash /opt/third_party/build.sh -a 20230802.0
# install OpenTelemetry-cpp
FROM base as otel-cpp
COPY --from=grpc /opt/third_party/install/ /usr
COPY --from=absl-cpp /opt/third_party/install/ /usr
RUN bash /opt/third_party/build.sh -o v1.11.0
# install otel_ngx_module.so