Skip to content

Commit aff579f

Browse files
committed
fix(helmbroker): runDeps not found
1 parent b94e707 commit aff579f

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

rootfs/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ RUN apk add --update --virtual .build-deps \
1515
&& source /app/.venv/bin/activate \
1616
&& pip3 install --disable-pip-version-check --no-cache-dir -r /app/requirements.txt \
1717
&& runDeps="$( \
18-
scanelf --needed --nobanner --format '%n#p' --recursive /usr/local \
18+
scanelf --needed --nobanner --format '%n#p' --recursive /app/.venv \
1919
| tr ',' '\n' \
2020
| sort -u \
21-
| awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
21+
| awk 'system("[ -e /app/.venv/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
2222
)" \
2323
&& apk add --update --virtual .helmbroker-rundeps \
2424
$runDeps \

rootfs/Dockerfile.test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ RUN apk add --update --virtual .build-deps \
1616
&& pip3 install --disable-pip-version-check --no-cache-dir -r /app/requirements.txt \
1717
&& pip3 install --disable-pip-version-check --no-cache-dir -r /app/dev_requirements.txt \
1818
&& runDeps="$( \
19-
scanelf --needed --nobanner --format '%n#p' --recursive /usr/local \
19+
scanelf --needed --nobanner --format '%n#p' --recursive /app/.venv \
2020
| tr ',' '\n' \
2121
| sort -u \
22-
| awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
22+
| awk 'system("[ -e /app/.venv/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
2323
)" \
2424
&& apk add --update --virtual .helmbroker-rundeps \
2525
$runDeps \

0 commit comments

Comments
 (0)