Merge pull request #9428 from strongjz/patch-otel

patch otel docker file
This commit is contained in:
James Strong 2022-12-20 09:54:18 -05:00 committed by GitHub
commit 81d40b70a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,7 +21,7 @@ COPY . /opt/third_party/
# install build tools
RUN apk update \
&& apk upgrade \
&& apk add -U bash \
&& apk add -U bash cmake \
&& bash /opt/third_party/build.sh -p
# install gRPC
@ -39,7 +39,7 @@ COPY --from=grpc /opt/third_party/install/ /usr
COPY --from=otel-cpp /opt/third_party/install/ /usr
RUN bash /opt/third_party/build.sh -n
FROM alpine:3.16.2 as final
FROM alpine:3.17.0 as final
COPY --from=base /opt/third_party/init_module.sh /usr/local/bin/init_module.sh
COPY --from=nginx /etc/nginx/modules /etc/nginx/modules
COPY --from=nginx /opt/third_party/install/lib /etc/nginx/modules