fix LD_LIBRARY_PATH (#9017)
This commit is contained in:
parent
db3cdc04e4
commit
9a42ded8ba
2 changed files with 2 additions and 2 deletions
|
@ -19,4 +19,4 @@ set -o nounset
|
|||
set -o pipefail
|
||||
|
||||
mkdir -p /modules_mount/etc/nginx/modules
|
||||
cp -R /etc/nginx/modules /modules_mount/etc/nginx/modules
|
||||
cp -R /etc/nginx/modules/* /modules_mount/etc/nginx/modules/otel
|
||||
|
|
|
@ -63,7 +63,7 @@ RUN bash -xeu -c ' \
|
|||
# LD_LIBRARY_PATH does not work so below is needed for opentelemetry/other modules
|
||||
# Put libs of newer modules under `/modules_mount/<other>/lib` and add that path below
|
||||
# Could get complicated arch specific paths become a need
|
||||
&& echo "/lib:/usr/lib:/usr/local/lib:/modules_mount/otel/lib" > /etc/ld-musl-x86_64.path
|
||||
&& echo "/lib:/usr/lib:/usr/local/lib:/modules_mount/etc/nginx/modules/otel" > /etc/ld-musl-x86_64.path
|
||||
|
||||
|
||||
RUN apk add --no-cache libcap \
|
||||
|
|
Loading…
Reference in a new issue