Skip to content

Commit 42a94a4

Browse files
committed
fix: add SELinux context to Ollama volume mount in AI review target
Signed-off-by: Tiger Kaovilai <[email protected]>
1 parent 553a1ec commit 42a94a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -742,7 +742,7 @@ ai-review-gptme-ollama: gptme ## Review staged git changes using gptme with loca
742742
mkdir -p .ollama; \
743743
if ! podman ps | grep -q ollama; then \
744744
podman run -d \
745-
-v $$(pwd)/.ollama:/root/.ollama \
745+
-v $$(pwd)/.ollama:/root/.ollama:Z \
746746
-p 11434:11434 \
747747
--memory=$(OLLAMA_MEMORY)g \
748748
--memory-swap=$(OLLAMA_MEMORY)g \

0 commit comments

Comments
 (0)