build docker images, run tests in docker build

- qreader_available flag
- echo commands in upgrade_deps.sh
This commit is contained in:
scito
2022-12-26 23:39:13 +01:00
parent 0490e227e1
commit 672d18a5ca
8 changed files with 173 additions and 111 deletions

View File

@@ -4,8 +4,9 @@ WORKDIR /extract
COPY . .
RUN pip install protobuf qrcode Pillow
RUN pip install protobuf qrcode Pillow \
&& /extract/run_pytest.sh test_extract_otp_secret_keys_pytest.py -k "not qreader" --relaxed
WORKDIR /files
ENTRYPOINT [ "python", "/extract/extract_otp_secret_keys.py" ]
ENTRYPOINT ["python", "/extract/extract_otp_secret_keys.py"]