File tree 1 file changed +4
-7
lines changed
1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -25,13 +25,11 @@ RUN make TAGS="timetzdata" redpanda-connect-ai
25
25
26
26
RUN touch /tmp/keep
27
27
28
- FROM ubuntu AS download
29
-
30
- RUN apt update && apt install -y curl
31
- RUN curl -fsSL https://ollama.com/install.sh | sh
32
-
33
28
# Pack
34
- FROM nvidia/cuda:12.6.0-runtime-ubuntu24.04 AS package
29
+ FROM ollama/ollama AS package
30
+
31
+ # Override the HOST from the ollama dockerfile
32
+ ENV OLLAMA_HOST=127.0.0.1
35
33
36
34
LABEL maintainer="Tyler Rockwood <
[email protected] >"
37
35
LABEL org.opencontainers.image.source="https://github.com/redpanda-data/connect"
@@ -45,7 +43,6 @@ COPY ./config/docker.yaml /connect.yaml
45
43
46
44
USER connect
47
45
48
- COPY --chown=connect:connect --from=download /usr/local/bin/ollama /usr/local/
49
46
COPY --chown=connect:connect --from=build /tmp/keep /home/connect/.ollama/keep
50
47
51
48
EXPOSE 4195
You can’t perform that action at this time.
0 commit comments