fix OpenTelemtry image build (#10888)
* fix OpenTelemtry image build * use fpic
This commit is contained in:
parent
256374079f
commit
8227888ba0
3 changed files with 65 additions and 8 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue