Working OpenTelemetry sidecar (base nginx image) (#8719)
* Delete entrypoint script and add sidecar lib path * make otel libs path otel specific * add description * remove library path adaption from nginx base image
This commit is contained in:
parent
f85c3866d8
commit
0ff500c23f
2 changed files with 1 additions and 32 deletions
|
|
@ -31,10 +31,8 @@ ENV LUA_CPATH="/usr/local/lib/lua/?/?.so;/usr/local/lib/lua/?.so;;"
|
|||
COPY --from=builder /usr/local /usr/local
|
||||
COPY --from=builder /opt /opt
|
||||
COPY --from=builder /etc/nginx /etc/nginx
|
||||
COPY --from=builder entrypoint.sh /usr/local/entrypoint.sh
|
||||
|
||||
RUN chmod +x /usr/local/entrypoint.sh \
|
||||
&& apk update \
|
||||
RUN apk update \
|
||||
&& apk upgrade \
|
||||
&& apk add -U --no-cache \
|
||||
bash \
|
||||
|
|
@ -73,6 +71,4 @@ RUN chmod +x /usr/local/entrypoint.sh \
|
|||
|
||||
EXPOSE 80 443
|
||||
|
||||
ENTRYPOINT ["/usr/local/entrypoint.sh"]
|
||||
|
||||
CMD ["nginx", "-g", "daemon off;"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue