File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 \
Original file line number Diff line number Diff 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 \
You can’t perform that action at this time.
0 commit comments