diff --git a/.github/workflows/public_docker_images.yml b/.github/workflows/public_docker_images.yml index 8fb8e8866c..77c5b4c12b 100644 --- a/.github/workflows/public_docker_images.yml +++ b/.github/workflows/public_docker_images.yml @@ -50,7 +50,7 @@ jobs: images: ${{ env.REGISTRY }}/${{ github.repository }} tags: | # used only on schedule event - type=schedule,pattern={{date 'YYYY-MM-DD'}},prefix=${{ matrix.framework }}-py${{ matrix.python }}-${{ matrix.system }}- + type=schedule,pattern={{date 'YYYY-MM'}},prefix=${{ matrix.framework }}-py${{ matrix.python }}-${{ matrix.system }}- # set latest tag only if `enable` is True # see https://github.com/docker/metadata-action#latest-tag type=raw,value=latest,enable=${{ matrix.framework == 'tf' && matrix.python == '3.8.18' && matrix.system == 'gpu' && github.ref == format('refs/heads/{0}', 'main') }} diff --git a/Dockerfile b/Dockerfile index d0243d2a1e..ef8b615518 100644 --- a/Dockerfile +++ b/Dockerfile @@ -46,7 +46,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ # - Packages to build Python tar make gcc zlib1g-dev libffi-dev libssl-dev \ # - Packages for docTR - libgl1-mesa-dev libsm6 libxext6 libxrender-dev libpangocairo-1.0-0 \ + libgl1-mesa-dev libsm6 libxext6 libxrender-dev libpangocairo-1.0-0 libbz2-dev \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* \ fi diff --git a/README.md b/README.md index 7c903eaf3f..912c14d52a 100644 --- a/README.md +++ b/README.md @@ -277,18 +277,19 @@ docker run --it --gpus all ghcr.io/mindee/doctr:tf-py3.8.18-v0.7.1 bash #### Available Tags -The Docker images for docTR follow a specific tag nomenclature: `-py-`. Here's a breakdown of the tag structure: +The Docker images for docTR follow a specific tag nomenclature: `-py-`. Here's a breakdown of the tag structure: -- ``: Can be `tf` (TensorFlow) or `torch` (PyTorch). -- ``: Can be `3.8.18`, `3.9.18`, or `3.10.13`. -- ``: Can be a tag (e.g., `v0.7.1`) +- ``: `tf` (TensorFlow) or `torch` (PyTorch). +- ``: `3.8.18`, `3.9.18`, or `3.10.13`. +- ``: a tag >= `v0.7.1` +- ``: e.g. `2023-10` Here are examples of different image tags: | Tag | Description | |----------------------------|---------------------------------------------------| | `tf-py3.8.18-v0.7.1` | TensorFlow version `3.8.18` with docTR `v0.7.1`. | -| `torch-py3.9.18-2023-10-01`| PyTorch version `3.9.18` with a weekly build from `2023-10-01`. | +| `torch-py3.9.18-2023-10`| PyTorch version `3.9.18` with a monthly build from `2023-10`. | #### Building Docker Images Locally