Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Docker Debian12 Openmpi Cuda 12.8.1
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Quang tru HUYNH
Docker Debian12 Openmpi Cuda 12.8.1
Commits
693cafeb
Commit
693cafeb
authored
2 weeks ago
by
Quang tru HUYNH
Browse files
Options
Downloads
Patches
Plain Diff
Initial commit
parents
Branches
main
No related tags found
No related merge requests found
Pipeline
#152875
passed with stage
in 26 minutes and 56 seconds
Changes
4
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.gitlab-ci.yml
+14
-0
14 additions, 0 deletions
.gitlab-ci.yml
Dockerfile
+32
-0
32 additions, 0 deletions
Dockerfile
LICENSE
+0
-0
0 additions, 0 deletions
LICENSE
README.md
+7
-0
7 additions, 0 deletions
README.md
with
53 additions
and
0 deletions
.gitlab-ci.yml
0 → 100644
+
14
−
0
View file @
693cafeb
build
:
image
:
docker:24
stage
:
build
before_script
:
-
i=0; while [ "$i" -lt 12 ]; do docker info && break; sleep 5; i=$(( i + 1 )) ; done
-
docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
script
:
-
export MY_TIME=`date +"%F-%H%M"`
-
docker build --pull -t "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME" -t "$CI_REGISTRY_IMAGE:$CI_COMMIT_SHORT_SHA" -t "$CI_REGISTRY_IMAGE:latest" -t "$CI_REGISTRY_IMAGE:$MY_TIME" --build-arg="BUILD_OPTIONS=$OPTIONS" -f ./Dockerfile .
-
docker push "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME"
-
docker push "$CI_REGISTRY_IMAGE:$CI_COMMIT_SHORT_SHA"
-
docker push "$CI_REGISTRY_IMAGE:latest"
-
docker push "$CI_REGISTRY_IMAGE:main"
-
docker push "$CI_REGISTRY_IMAGE:$MY_TIME"
This diff is collapsed.
Click to expand it.
Dockerfile
0 → 100644
+
32
−
0
View file @
693cafeb
FROM
debian:12
SHELL
["/bin/bash", "-o", "pipefail", "-c"]
RUN
<<
EOF
bash
set -ex
# pulled from Singularity recipe:
apt-get update
DEBIAN_FRONTEND=noninteractive \
apt-get install -y wget cmake python3-numpy python3-setuptools doxygen swig cython3 software-properties-common git jq python3-pip openmpi-bin libopenmpi-dev
mkdir /opt/cuda-toolkit
cd /opt/cuda-toolkit
## CUDA
wget https://developer.download.nvidia.com/compute/cuda/12.8.1/local_installers/cuda-repo-debian12-12-8-local_12.8.1-570.124.06-1_amd64.deb
dpkg -i cuda-repo-debian12-12-8-local_12.8.1-570.124.06-1_amd64.deb && \
rm cuda-repo-debian12-12-8-local_12.8.1-570.124.06-1_amd64.deb
cp /var/cuda-repo-debian12-12-8-local/cuda-*-keyring.gpg /usr/share/keyrings/
apt-get update
apt-get -y install cuda-toolkit-12-8
apt-get autoremove
apt-get autoclean
apt-get clean
# cleanup cuda sources
rm -r /var/cuda-repo-debian12-12-8-local /etc/apt/sources.list.d//cuda-debian12-12-8-local.list
# cleanup build
rm -rf /opt/openmm
EOF
This diff is collapsed.
Click to expand it.
LICENSE
0 → 100644
+
0
−
0
View file @
693cafeb
This diff is collapsed.
Click to expand it.
README.md
0 → 100644
+
7
−
0
View file @
693cafeb
# building a debian 12 based openmpi cuda 12.8.1 (docker-debian12-openmpi-cuda-12.8.1)
[

](https://gitlab.pasteur.fr/tru/docker-debian12-openmpi-cuda-12.8.1/-/commits/main)
Tru
<tru@pasteur.fr>
(toy) docker image produced available at
`registry-gitlab.pasteur.fr/tru/docker-debian12-openmpi-cuda-12.8.1:latest`
This diff is collapsed.
Click to expand it.
Preview
0%
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