Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
197e420a
Unverified
Commit
197e420a
authored
Jan 25, 2024
by
Daniel Hiltgen
Committed by
GitHub
Jan 25, 2024
Browse files
Merge pull request #2196 from dhiltgen/remove_rocm_image
Switch back to ubuntu base
parents
2ae05562
a34e1ad3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
Dockerfile
Dockerfile
+2
-1
No files found.
Dockerfile
View file @
197e420a
...
@@ -109,7 +109,8 @@ ARG CGO_CFLAGS
...
@@ -109,7 +109,8 @@ ARG CGO_CFLAGS
RUN
go build .
RUN
go build .
# Runtime stages
# 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
COPY
--from=build-amd64 /go/src/github.com/jmorganca/ollama/ollama /bin/ollama
FROM
--platform=linux/arm64 ubuntu:22.04 as runtime-arm64
FROM
--platform=linux/arm64 ubuntu:22.04 as runtime-arm64
RUN
apt-get update
&&
apt-get
install
-y
ca-certificates
RUN
apt-get update
&&
apt-get
install
-y
ca-certificates
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment