use 3.11-slim-bullseye, add missing package
This commit is contained in:
4
.github/workflows/ci_docker.yml
vendored
4
.github/workflows/ci_docker.yml
vendored
@@ -82,5 +82,5 @@ jobs:
|
||||
|
||||
- name: Image digest
|
||||
run: |
|
||||
echo ${{ steps.docker_build_no_qr_reader.outputs.digest }}
|
||||
echo ${{ steps.docker_build_qr_reader.outputs.digest }}
|
||||
echo "extract_otp_secret_keys: ${{ steps.docker_build_qr_reader.outputs.digest }}"
|
||||
echo "extract_otp_secret_keys_no_qr_reader: ${{ steps.docker_build_no_qr_reader.outputs.digest }}"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM python:3.11-bullseye
|
||||
FROM python:3.11-slim-bullseye
|
||||
|
||||
WORKDIR /extract
|
||||
|
||||
@@ -6,7 +6,7 @@ COPY . .
|
||||
|
||||
ARG RUN_TESTS=true
|
||||
|
||||
RUN apt-get update && apt-get install -y libzbar0 python3-opencv nano \
|
||||
RUN apt-get update && apt-get install -y libzbar0 libsm6 python3-opencv nano \
|
||||
&& pip install --no-cache-dir -r requirements.txt \
|
||||
&& if [ "$RUN_TESTS" = "true" ]; then /extract/run_pytest.sh; else echo "Not running tests..."; fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user