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
e0319bd7
Commit
e0319bd7
authored
Mar 25, 2024
by
Daniel Hiltgen
Browse files
Revert "Switch arm cuda base image to centos 7"
This reverts commit
5dacc1eb
.
parent
5dacc1eb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Dockerfile
Dockerfile
+2
-2
No files found.
Dockerfile
View file @
e0319bd7
...
...
@@ -20,11 +20,11 @@ WORKDIR /go/src/github.com/jmorganca/ollama/llm/generate
ARG
CGO_CFLAGS
RUN
OLLAMA_SKIP_CPU_GENERATE
=
1 sh gen_linux.sh
FROM
--platform=linux/arm64 nvidia/cuda:$CUDA_VERSION-devel-
centos7
AS cuda-build-arm64
FROM
--platform=linux/arm64 nvidia/cuda:$CUDA_VERSION-devel-
rockylinux8
AS cuda-build-arm64
ARG
CMAKE_VERSION
COPY
./scripts/rh_linux_deps.sh /
RUN
CMAKE_VERSION
=
${
CMAKE_VERSION
}
sh /rh_linux_deps.sh
ENV
PATH /opt/rh/
dev
toolset-10/root/usr/bin:$PATH
ENV
PATH /opt/rh/
gcc-
toolset-10/root/usr/bin:$PATH
COPY
--from=llm-code / /go/src/github.com/jmorganca/ollama/
WORKDIR
/go/src/github.com/jmorganca/ollama/llm/generate
ARG
CGO_CFLAGS
...
...
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