Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
htcondor-templates
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
INM7
tools
htcondor-templates
Commits
07f0f13c
Commit
07f0f13c
authored
Aug 20, 2020
by
Alex Waite
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
singularity: expand comments, and reorder shell script
parent
a12d200d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
+9
-6
singularity/singularity.sh
singularity/singularity.sh
+9
-6
No files found.
singularity/singularity.sh
View file @
07f0f13c
#!/bin/bash
#
use a dedicated "scratch disk"
cd
/tmp
c
hmod
1777 /tmp
#
clone the repo (with the singularity recipe file) to the scratch disk
git clone https://jugit.fz-juelich.de/inm7/tools/htcondor-templates.git /tmp/htcondor-templates
c
d
/tmp/htcondor-templates/singularity
# download the singularity recipe file
git clone https://jugit.fz-juelich.de/inm7/tools/htcondor-templates.git
cd
htcondor-templates/singularity
# restore default permissions on the /tmp dir (from Condor's 0700). /tmp is
# bind mounted inside of the singularity container, and will have permission
# issues without this.
chmod
1777 /tmp
# build the singularity image file
# (to gain this sudo access, it requires membership in the "singulars" group on
# Juseless. If you need this, talk with Jan or Alex.)
sudo
singularity build sl.simg sl.def
# copy the image file back to your directory
...
...
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