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
b31ed7f0
Unverified
Commit
b31ed7f0
authored
Mar 25, 2024
by
Daniel Hiltgen
Committed by
GitHub
Mar 25, 2024
Browse files
Merge pull request #3352 from dhiltgen/fix_arm_linux
Switch arm cuda base image to centos 7
parents
c2712b55
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 @
b31ed7f0
...
@@ -20,11 +20,11 @@ WORKDIR /go/src/github.com/jmorganca/ollama/llm/generate
...
@@ -20,11 +20,11 @@ WORKDIR /go/src/github.com/jmorganca/ollama/llm/generate
ARG
CGO_CFLAGS
ARG
CGO_CFLAGS
RUN
OLLAMA_SKIP_CPU_GENERATE
=
1 sh gen_linux.sh
RUN
OLLAMA_SKIP_CPU_GENERATE
=
1 sh gen_linux.sh
FROM
--platform=linux/arm64 nvidia/cuda:$CUDA_VERSION-devel-
rockylinux8
AS cuda-build-arm64
FROM
--platform=linux/arm64 nvidia/cuda:$CUDA_VERSION-devel-
centos7
AS cuda-build-arm64
ARG
CMAKE_VERSION
ARG
CMAKE_VERSION
COPY
./scripts/rh_linux_deps.sh /
COPY
./scripts/rh_linux_deps.sh /
RUN
CMAKE_VERSION
=
${
CMAKE_VERSION
}
sh /rh_linux_deps.sh
RUN
CMAKE_VERSION
=
${
CMAKE_VERSION
}
sh /rh_linux_deps.sh
ENV
PATH /opt/rh/
gcc-
toolset-10/root/usr/bin:$PATH
ENV
PATH /opt/rh/
dev
toolset-10/root/usr/bin:$PATH
COPY
--from=llm-code / /go/src/github.com/jmorganca/ollama/
COPY
--from=llm-code / /go/src/github.com/jmorganca/ollama/
WORKDIR
/go/src/github.com/jmorganca/ollama/llm/generate
WORKDIR
/go/src/github.com/jmorganca/ollama/llm/generate
ARG
CGO_CFLAGS
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