-
Notifications
You must be signed in to change notification settings - Fork 0
/
Singularity
35 lines (31 loc) · 938 Bytes
/
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
Bootstrap:docker
From: tylere/docker-ee-datascience-notebook
%files
gedi_to_gee.py
manifest.template
%runscript
exec python3 gedi_to_gee.py
%environment
HOME=/home/home02/geogz
%post
HOME=/home/home02/geogz
CLOUD_SDK_VERSION=232.0.0
apt-get -qqy update && apt-get install -qqy \
curl \
gcc \
python-dev \
python-setuptools \
apt-transport-https \
lsb-release \
openssh-client \
git \
gnupg && \
easy_install -U pip && \
pip install -U crcmod && \
export CLOUD_SDK_REPO="cloud-sdk-$(lsb_release -c -s)" && \
echo "deb https://packages.cloud.google.com/apt $CLOUD_SDK_REPO main" > /etc/apt/sources.list.d/google-cloud-sdk.list && \
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add - && \
apt-get update && \
apt-get install -y google-cloud-sdk=${CLOUD_SDK_VERSION}-0 && \
gcloud --version && \
pip install fiona pyproj shapely h5py bs4