Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
eic_container
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
containers
eic_container
Commits
74d5fea7
Commit
74d5fea7
authored
4 years ago
by
Whitney Armstrong
Browse files
Options
Downloads
Patches
Plain Diff
modified: .gitlabci/setup.sh
parent
3c306412
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlabci/setup.sh
+34
-34
34 additions, 34 deletions
.gitlabci/setup.sh
with
34 additions
and
34 deletions
.gitlabci/setup.sh
+
34
−
34
View file @
74d5fea7
#!/bin/bash
apt-get update
&&
apt-get
install
-y
wget git
\
build-essential
\
squashfs-tools
\
libtool
\
autotools-dev
\
libarchive-dev
\
automake
\
autoconf
\
uuid-dev
\
libssl-dev
\
python-pip
## Somehow sed cant find /etc/sudoers
#sed -i -e 's/^Defaults\tsecure_path.*$//' /etc/sudoers
# Check Python
echo
"Python Version:"
python
--version
pip
install
sregistry[all]
sregistry version
echo
"sregistry Version:"
# Install Singularity
cd
/tmp
&&
\
rm
-rf
singularity
&&
\
git clone
-b
vault/release-2.5 https://www.github.com/sylabs/singularity.git
cd
singularity
&&
\
./autogen.sh
&&
\
./configure
--prefix
=
/usr/local
&&
\
make
-j8
&&
make
install
#
apt-get update && apt-get install -y wget git \
#
build-essential \
#
squashfs-tools \
#
libtool \
#
autotools-dev \
#
libarchive-dev \
#
automake \
#
autoconf \
#
uuid-dev \
#
libssl-dev \
#
python-pip
#
#
##
#
Somehow sed cant find /etc/sudoers
#
#sed -i -e 's/^Defaults\tsecure_path.*$//' /etc/sudoers
#
#
# Check Python
#
#
echo "Python Version:"
#
python --version
#
pip install sregistry[all]
#
sregistry version
#
#
echo "sregistry Version:"
#
#
# Install Singularity
#
#
cd /tmp && \
#
rm -rf singularity && \
#
git clone -b vault/release-2.5 https://www.github.com/sylabs/singularity.git
#
cd singularity && \
#
./autogen.sh && \
#
./configure --prefix=/usr/local && \
#
make -j8 && make install
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