-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4fb8f6e
commit 2548ea2
Showing
7 changed files
with
30 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
ARG ubuntu_version | ||
FROM ghcr.io/llnl/ubuntu:$ubuntu_version | ||
FROM ghcr.io/llnl/radiuss-ubuntu:$ubuntu_version | ||
|
||
LABEL maintainer="Chris White <[email protected]>,@vsoch,David Beckingsale <[email protected]>" | ||
LABEL org.opencontainers.image.source=https://github.com/LLNL/radiuss-docker | ||
|
||
ARG llvm_version | ||
ENV llvm_version=${llvm_version} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,22 @@ | ||
ARG ubuntu_version | ||
FROM ghcr.io/rse-ops/ubuntu:$ubuntu_version | ||
FROM ghcr.io/llnl/radiuss-gcc:$ubuntu_version | ||
|
||
# Install llvm with spack | ||
ARG cuda_version | ||
ENV cuda_version=$cuda_version | ||
|
||
RUN spack add cuda@${cuda_version} && \ | ||
spack mirror add develop https://binaries.spack.io/releases/develop && \ | ||
spack buildcache keys --install --trust && \ | ||
spack install | ||
RUN spack view --dependencies no symlink --ignore-conflicts /opt/view cuda@${cuda_version} && \ | ||
spack compiler find | ||
RUN \ | ||
sudo apt-get -qq update \ | ||
&& sudo apt-get -qq install -y --no-install-recommends \ | ||
clang-${llvm_version} clang-format-${llvm_version} llvm-${llvm_version} \ | ||
&& sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-${llvm_version} 100 \ | ||
&& sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-${llvm_version} 100 \ | ||
&& sudo update-alternatives --install /usr/bin/cc cc /usr/bin/clang-${llvm_version} 100 \ | ||
&& sudo update-alternatives --install /usr/bin/c++ c++ /usr/bin/clang++-${llvm_version} 100 \ | ||
&& sudo update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-${llvm_version} 100 \ | ||
&& sudo update-alternatives --install /usr/bin/llvm-cov llvm-cov /usr/bin/llvm-cov-${llvm_version} 100 \ | ||
&& sudo rm -rf /var/lib/apt/lists/* \ | ||
&& sudo apt-get clean | ||
|
||
USER radiuss | ||
WORKDIR /home/radiuss |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
ARG ubuntu_version | ||
FROM ghcr.io/llnl/ubuntu:$ubuntu_version | ||
FROM ghcr.io/llnl/radiuss-ubuntu:$ubuntu_version | ||
|
||
LABEL maintainer="Chris White <[email protected]>,@vsoch,David Beckingsale <[email protected]>" | ||
LABEL org.opencontainers.image.source=https://github.com/LLNL/radiuss-docker | ||
|
||
ARG gcc_version | ||
ENV gcc_version=$gcc_version | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters