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
1579c4f0
Unverified
Commit
1579c4f0
authored
Mar 03, 2025
by
Jeffrey Morgan
Committed by
GitHub
Mar 03, 2025
Browse files
build: install binutils alongside gcc in Dockerfile (#9475)
parent
3519dd1c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
Dockerfile
Dockerfile
+2
-3
No files found.
Dockerfile
View file @
1579c4f0
...
...
@@ -12,9 +12,8 @@ FROM --platform=linux/amd64 rocm/dev-almalinux-8:${ROCMVERSION}-complete AS base
RUN
yum
install
-y
yum-utils
\
&&
yum-config-manager
--add-repo
https://dl.rockylinux.org/vault/rocky/8.5/AppStream/
\$
basearch/os/
\
&&
rpm
--import
https://dl.rockylinux.org/pub/rocky/RPM-GPG-KEY-Rocky-8
\
&&
dnf
install
-y
yum-utils gcc-toolset-10-gcc-10.2.1-8.2.el8 gcc-toolset-10-gcc-c++-10.2.1-8.2.el8
\
&&
yum-config-manager
--add-repo
https://developer.download.nvidia.com/compute/cuda/repos/rhel8/x86_64/cuda-rhel8.repo
\
&&
curl
-s
-L
https://github.com/ccache/ccache/releases/download/v4.10.2/ccache-4.10.2-linux-x86_64.tar.xz |
tar
-Jx
-C
/usr/local/bin
--strip-components
1
&&
dnf
install
-y
yum-utils ccache gcc-toolset-10-gcc-10.2.1-8.2.el8 gcc-toolset-10-gcc-c++-10.2.1-8.2.el8 gcc-toolset-10-binutils-2.35-11.el8
\
&&
yum-config-manager
--add-repo
https://developer.download.nvidia.com/compute/cuda/repos/rhel8/x86_64/cuda-rhel8.repo
ENV
PATH=/opt/rh/gcc-toolset-10/root/usr/bin:$PATH
FROM
--platform=linux/arm64 almalinux:8 AS base-arm64
...
...
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