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
422dcc38
Unverified
Commit
422dcc38
authored
Jul 02, 2024
by
Daniel Hiltgen
Committed by
GitHub
Jul 02, 2024
Browse files
Merge pull request #5439 from dhiltgen/fix_centos_7_build
Switch ARM64 container image base to rocky 8
parents
8e277b72
020bd60a
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 @
422dcc38
...
...
@@ -70,12 +70,12 @@ RUN OLLAMA_SKIP_STATIC_GENERATE=1 OLLAMA_CPU_TARGET="cpu_avx" sh gen_linux.sh
FROM
--platform=linux/amd64 cpu-builder-amd64 AS cpu_avx2-build-amd64
RUN
OLLAMA_SKIP_STATIC_GENERATE
=
1
OLLAMA_CPU_TARGET
=
"cpu_avx2"
sh gen_linux.sh
FROM
--platform=linux/arm64
centos:7
AS cpu-builder-arm64
FROM
--platform=linux/arm64
rockylinux:8
AS cpu-builder-arm64
ARG
CMAKE_VERSION
ARG
GOLANG_VERSION
COPY
./scripts/rh_linux_deps.sh /
RUN
CMAKE_VERSION
=
${
CMAKE_VERSION
}
GOLANG_VERSION
=
${
GOLANG_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/ollama/ollama/
ARG
OLLAMA_CUSTOM_CPU_DEFS
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