haystack/docker/docker-bake-xpdf.hcl
Silvano Cerza 30cdb81f19
ci: Move xpdf build into separate container (#4199)
* Create Dockerfile and hcl config to build Xpdf

* Create workflow to build Xpdf Docker image

* Update Dockerfile.base to not build Xpdf

* Fix CWD removal and arg casing

* Fix ARG setting
2023-02-20 14:58:11 +01:00

13 lines
229 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"]
}