File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,11 +22,11 @@ RUN apk add --update --virtual .build-deps \
2222 && python3 -m venv /app/.venv \
2323 && source /app/.venv/bin/activate \
2424 && pip3 install --disable-pip-version-check --no-cache-dir -r /app/requirements.txt \
25- && find /app/.venv/lib/ -type f -executable ! -path '*/cryptography*' -exec scanelf --needed --nobanner --format '%n#p' '{}' ';' \
26- | tr ',' '\n ' \
27- | sort -u \
28- | awk 'system("[ -e /app/.venv/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
29- | xargs -rt apk add --no-cache --virtual .python-rundeps \
25+ && find /app/.venv/lib/ -type f -executable ! -path '*/cryptography*' -exec scanelf --needed --nobanner --format '%n#p' '{}' ';' \
26+ | tr ',' '\n ' \
27+ | sort -u \
28+ | awk 'system("[ -e /app/.venv/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
29+ | xargs -rt apk add --no-cache --virtual .python-rundeps \
3030 && apk add --update --virtual .passport-rundeps \
3131 ca-certificates \
3232 su-exec \
Original file line number Diff line number Diff line change @@ -21,11 +21,11 @@ RUN echo https://dl-cdn.alpinelinux.org/alpine/edge/main >>/etc/apk/repositories
2121 && source /app/.venv/bin/activate \
2222 && pip3 install --disable-pip-version-check --no-cache-dir -r /app/requirements.txt \
2323 && pip3 install --disable-pip-version-check --no-cache-dir -r /app/dev_requirements.txt \
24- && find /app/.venv/lib/ -type f -executable ! -path '*/cryptography*' -exec scanelf --needed --nobanner --format '%n#p' '{}' ';' \
25- | tr ',' '\n' \
26- | sort -u \
27- | awk 'system("[ -e /app/.venv/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
28- | xargs -rt apk add --no-cache --virtual .python-rundeps \
24+ && find /app/.venv/lib/ -type f -executable ! -path '*/cryptography*' -exec scanelf --needed --nobanner --format '%n#p' '{}' ';' \
25+ | tr ',' '\n' \
26+ | sort -u \
27+ | awk 'system("[ -e /app/.venv/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
28+ | xargs -rt apk add --no-cache --virtual .python-rundeps \
2929 && apk add --update --virtual .passport-rundeps \
3030 gcc \
3131 git \
You can’t perform that action at this time.
0 commit comments