Skip to content

Commit 5d0f80b

Browse files
committed
SCANNED_RUNTIME_DEPS
1 parent f6caba9 commit 5d0f80b

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

Containerfile

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -136,22 +136,15 @@ RUN echo "" && \
136136
sed -i "1i#\!/usr/bin/env bash" /usr/src/redis/modules/redisearch/src/deps/VectorSimilarity/deps/ScalableVectorSearch/cmake/patches/apply_patch_toml.sh && \
137137
make -j "$(nproc)" all && \
138138
make install && \
139-
\
140-
runDeps="$( \
141-
scanelf --needed --nobanner --format '%n#p' --recursive /usr/local \
142-
| tr ',' '\n' \
143-
| sort -u \
144-
| awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
145-
)" && \
146139
mkdir -p /data && \
147140
make -C /usr/src/redis distclean && \
148141
chown redis:redis /data && \
149142
container_build_log add "Redis" "${REDIS_VERSION}" "${REDIS_REPO_URL}" && \
150143
package install \
151144
REDIS_RUN_DEPS \
152-
$runDeps \
145+
SCANNED_RUNTIME_DEPS \
153146
&& \
154-
package remove \
147+
package remove \
155148
REDIS_BUILD_DEPS \
156149
REDIS_MODULE_BUILD_DEPS \
157150
&& \

0 commit comments

Comments
 (0)