patch otel docker file

Signed-off-by: James Strong <james.strong@chainguard.dev>
This commit is contained in:
James Strong 2022-12-20 09:22:51 -05:00
parent e3e0d9c1f4
commit 690969ba5f
Failed to extract signature

View file

@ -21,7 +21,7 @@ COPY . /opt/third_party/
# install build tools # install build tools
RUN apk update \ RUN apk update \
&& apk upgrade \ && apk upgrade \
&& apk add -U bash \ && apk add -U bash cmake \
&& bash /opt/third_party/build.sh -p && bash /opt/third_party/build.sh -p
# install gRPC # install gRPC
@ -39,7 +39,7 @@ COPY --from=grpc /opt/third_party/install/ /usr
COPY --from=otel-cpp /opt/third_party/install/ /usr COPY --from=otel-cpp /opt/third_party/install/ /usr
RUN bash /opt/third_party/build.sh -n 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=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 /etc/nginx/modules /etc/nginx/modules
COPY --from=nginx /opt/third_party/install/lib /etc/nginx/modules COPY --from=nginx /opt/third_party/install/lib /etc/nginx/modules