-
Notifications
You must be signed in to change notification settings - Fork 7
/
ubuntu.def
31 lines (25 loc) · 1.02 KB
/
ubuntu.def
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
# Copyright (c) 2015-2016, Gregory M. Kurtzer. All rights reserved.
#
# "Singularity" Copyright (c) 2016, The Regents of the University of California,
# through Lawrence Berkeley National Laboratory (subject to receipt of any
# required approvals from the U.S. Dept. of Energy). All rights reserved.
BootStrap: debootstrap
OSVersion: trusty
MirrorURL: http://us.archive.ubuntu.com/ubuntu/
%runscript
exec /usr/bin/python "$@"
%environment
LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
%post
sed -i 's/$/ universe/' /etc/apt/sources.list
apt-get update
apt-get -y --force-yes install vim \
curl \
libfreetype6-dev \
libpng12-dev \
libzmq3-dev \
python-numpy \
python-pip \
python-scipy && \
apt-get clean