From eb0a6d0cc625ae2df1041b0a6f1f557536c59c94 Mon Sep 17 00:00:00 2001 From: Christian Stefanescu Date: Fri, 10 Jan 2025 15:26:03 +0100 Subject: [PATCH] move mac OS related LD_PRELOAD to Makefile --- Dockerfile | 3 +-- Makefile | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index ed3c377fe..e22854379 100644 --- a/Dockerfile +++ b/Dockerfile @@ -155,8 +155,7 @@ ENV ARCHIVE_TYPE=file \ ARCHIVE_PATH=/data \ FTM_STORE_URI=postgresql://aleph:aleph@postgres/aleph \ REDIS_URL=redis://redis:6379/0 \ - TESSDATA_PREFIX=/usr/share/tesseract-ocr/4.00/tessdata \ - LD_PRELOAD=/usr/lib/aarch64-linux-gnu/libgomp.so.1 + TESSDATA_PREFIX=/usr/share/tesseract-ocr/4.00/tessdata # USER app CMD ingestors process diff --git a/Makefile b/Makefile index 53eb12e80..d97f2af2d 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ INGEST=ghcr.io/alephdata/ingest-file COMPOSE=docker compose -DOCKER=$(COMPOSE) run --rm ingest-file +DOCKER=$(COMPOSE) run --rm -e LD_PRELOAD=/usr/lib/aarch64-linux-gnu/libgomp.so.1 ingest-file .PHONY: build