haystack/docker/docker-bake-xpdf.hcl
Massimiliano Pippi 322652c306
fix: provide a fallback for PyMuPDF (#4564)
* add a fallback xpdf alternative to PyMuPDF

* add xpdpf to the base images

* to be reverted

* silence mypy on conditional error

* do not install pdf extras in base images

* bring back the xpdf build strategy

* remove leftovers from old build

* fix indentation

* Apply suggestions from code review

Co-authored-by: Silvano Cerza <3314350+silvanocerza@users.noreply.github.com>

* revert test workflow

---------

Co-authored-by: Silvano Cerza <3314350+silvanocerza@users.noreply.github.com>
2023-03-31 14:37:05 +02:00

13 lines
245 B
HCL

variable "XPDF_VERSION" {
default = "4.04"
}
target "xpdf" {
dockerfile = "Dockerfile.xpdf"
tags = ["deepset/xpdf:latest"]
args = {
xpdf_version = "${XPDF_VERSION}"
}
platforms = ["linux/amd64", "linux/arm64"]
}