Skip to content

Commit

Permalink
move mac OS related LD_PRELOAD to Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
stchris committed Jan 10, 2025
1 parent 6f53c10 commit eb0a6d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit eb0a6d0

Please sign in to comment.