Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cobalt-installation
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
COBALT
cobalt-installation
Commits
4190f5c7
Commit
4190f5c7
authored
3 months ago
by
Bram Veenboer
Browse files
Options
Downloads
Patches
Plain Diff
Update Dockerfile to use Ansible
parent
49f20558
No related branches found
No related tags found
2 merge requests
!5
Combine new spack files + CI/CD branches
,
!4
Update all the scripts/configuration to latest 'best known'
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+4
-28
4 additions, 28 deletions
Dockerfile
with
4 additions
and
28 deletions
Dockerfile
+
4
−
28
View file @
4190f5c7
...
@@ -3,35 +3,11 @@ ENV DEBIAN_FRONTEND=noninteractive
...
@@ -3,35 +3,11 @@ ENV DEBIAN_FRONTEND=noninteractive
RUN
apt update
&&
\
RUN
apt update
&&
\
apt
install
-y
\
apt
install
-y
\
git
\
ansible
ca-certificates
\
python3
\
g++
\
gfortran
\
zip
\
xz-utils
\
pkgconf
\
bzip2
\
make
\
cmake-curses-gui
\
vim
\
automake
\
file
\
wget
\
kmod
\
environment-modules
ENV
SPACK_VERSION=0.22.1
ENV
SPACK_DIR=/opt/spack/${SPACK_VERSION}
RUN
git clone
--depth
1
--branch
v
${
SPACK_VERSION
}
https://github.com/spack/spack.git
${
SPACK_DIR
}
RUN
ln
-s
${
SPACK_DIR
}
/bin/spack /usr/local/bin/
ENV
SPACK_REPO_DIR=/opt/spack/repos
RUN
mkdir
-p
${
SPACK_REPO_DIR
}
RUN
git clone
--depth
1 https://gitlab.com/ska-telescope/ska-sdp-spack.git
${
SPACK_REPO_DIR
}
/ska-sdp-spack
RUN
mkdir
-p
$HOME
/.spack
RUN
echo
"repos:
\n
-
${
SPACK_REPO_DIR
}
/ska-sdp-spack"
>
$HOME
/.spack/repos.yaml
COPY
ansible.yaml /
COPY
environment.yaml /
RUN
ansible-playbook ansible.yaml
RUN
wget
-O
NVIDIA-driver.run https://us.download.nvidia.com/tesla/570.124.06/NVIDIA-Linux-x86_64-570.124.06.run
RUN
wget
-O
NVIDIA-driver.run https://us.download.nvidia.com/tesla/570.124.06/NVIDIA-Linux-x86_64-570.124.06.run
RUN
chmod
+x NVIDIA-driver.run
RUN
chmod
+x NVIDIA-driver.run
RUN
./NVIDIA-driver.run
-s
--no-kernel-modules
RUN
./NVIDIA-driver.run
-s
--no-kernel-modules
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment