Skip to content

Commit cd4f2b2

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 cd4f2b2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,4 @@ tests/e2e/must-gather/
5050
.ollama/
5151

5252
# Custom AI review prompt (use prompt.example as template)
53-
./ai/Makefile/Prompt/prompt
53+
ai/Makefile/Prompt/prompt

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)