-
Notifications
You must be signed in to change notification settings - Fork 0
/
Singularity
40 lines (33 loc) · 1.32 KB
/
Singularity
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
################################################################################
# Basic bootstrap definition to build Ubuntu container from Docker container
################################################################################
Bootstrap:docker
From:ubuntu:latest
%labels
Maintainer Matthew Andres Moreno
Version 0.1.0
################################################################################
# Copy any necessary files into the container
################################################################################
%files
. /opt/mwe-singularity-checkpoint
%post
################################################################################
# Install additional packages
################################################################################
apt-get update
apt-get install -y git
apt-get install -y build-essential
apt-get install -y make
apt-get install -y figlet
git clone https://github.com/mmore500/dmtcp
cd dmtcp
git checkout b8be8be2874258d2f45324a42d609c0c63da0079 .
./configure && make && make install
cd ..
chmod 777 -R /opt
################################################################################
# Run the user's login shell, or a user specified command
################################################################################
%runscript
/opt/mwe-singularity-checkpoint/demonstrate.sh