-
Notifications
You must be signed in to change notification settings - Fork 2
/
Singularity.3.6.1
59 lines (49 loc) · 1.1 KB
/
Singularity.3.6.1
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
BootStrap: library
From: granek/default/singularity-rstudio:3.6.1
%labels
Maintainer Josh Granek
Image_Name singularity-rstudio-base
Image_Version singularity-rstudio-base_0002
%runscript
exec port_and_password "${@}"
%apprun rstudio
exec rserver "${@}"
%apprun default
exec "${@}"
%apprun pp
exec port_and_password "${@}"
%environment
export PATH=/usr/lib/rstudio-server/bin:${PATH}
export SHELL=/bin/bash
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
export LANGUAGE=en_US.UTF-8
%setup
install -Dv \
port_and_password.sh \
${SINGULARITY_ROOTFS}/usr/lib/rstudio-server/bin/port_and_password
%post
# Install extra stuff
apt-get update
apt-get install -y --no-install-recommends \
bsdmainutils \
iproute2 \
libxml2-dev \
curl \
wget \
bzip2 \
ca-certificates \
sudo \
locales \
emacs \
less \
make \
git \
ssh \
htop \
jq \
&& apt-get clean && \
rm -rf /var/lib/apt/lists/*
#--------------------------------------------------------------------------------
mkdir -p /data
mkdir -p /workspace