sort docker imports

cv2_1
scito 1 year ago
parent 77e23b4ae4
commit 1c106150b0

@ -15,8 +15,8 @@ COPY . .
ARG RUN_TESTS=true
RUN apt-get update && apt-get install -y \
libzbar0 \
libsm6 \
libzbar0 \
python3-opencv \
&& rm -rf /var/lib/apt/lists/* \
&& pip install --no-cache-dir -U -r \

@ -15,22 +15,22 @@ COPY . .
ARG RUN_TESTS=true
RUN apk add --no-cache \
zlib \
jpeg \
zlib \
&& echo "Arch: $(apk --print-arch)" \
&& if [[ "$(apk --print-arch)" == "aarch64" ]]; then apk add --no-cache --virtual .build-deps \
gcc \
jpeg-dev \
libc-dev \
python3-dev \
py3-setuptools \
python3-dev \
zlib-dev \
jpeg-dev \
; fi \
&& pip install --no-cache-dir -U \
colorama \
Pillow \
protobuf \
qrcode \
Pillow \
colorama \
&& if [[ "$(apk --print-arch)" == "aarch64" ]]; then apk del .build-deps; fi \
&& if [[ "$RUN_TESTS" == "true" ]]; then /extract/run_pytest.sh tests/extract_otp_secrets_test.py -k "not qreader" --relaxed; else echo "Not running tests..."; fi

Loading…
Cancel
Save