mirror of
https://github.com/ollama/ollama.git
synced 2025-04-07 11:28:17 +02:00
Switch back to ubuntu base
The size increase for rocm support in the standard image is problematic We'll revisit multiple tags for rocm support in a follow up PR.
This commit is contained in:
parent
2ae0556292
commit
a34e1ad3cf
@ -109,7 +109,8 @@ ARG CGO_CFLAGS
|
||||
RUN go build .
|
||||
|
||||
# Runtime stages
|
||||
FROM --platform=linux/amd64 rocm/dev-centos-7:6.0-complete as runtime-amd64
|
||||
FROM --platform=linux/amd64 ubuntu:22.04 as runtime-amd64
|
||||
RUN apt-get update && apt-get install -y ca-certificates
|
||||
COPY --from=build-amd64 /go/src/github.com/jmorganca/ollama/ollama /bin/ollama
|
||||
FROM --platform=linux/arm64 ubuntu:22.04 as runtime-arm64
|
||||
RUN apt-get update && apt-get install -y ca-certificates
|
||||
|
Loading…
x
Reference in New Issue
Block a user