build docker images, run tests in docker build

- qreader_available flag
- echo commands in upgrade_deps.sh
This commit is contained in:
scito committed 2022-12-26 23:57:38 +01:00
1 parent 0490e227e1
commit 672d18a5ca
8 files changed
+173 -111

No files matched your search

+4 -3
View File
@@ -4,9 +4,10 @@ WORKDIR /extract
COPY . .
RUN apt-get update && apt-get install -y libzbar0 python3-opencv \
&& pip install -r requirements.txt
RUN apt-get update && apt-get install -y libzbar0 python3-opencv nano \
&& pip install -r requirements.txt \
&& /extract/run_pytest.sh
WORKDIR /files
ENTRYPOINT [ "python", "/extract/extract_otp_secret_keys.py" ]
ENTRYPOINT ["python", "/extract/extract_otp_secret_keys.py"]