nickjer/singularity-vncserver:2.1.2
$ singularity pull shub://nickjer/singularity-vncserver:2.1.2
Singularity Recipe
BootStrap: docker
From: ubuntu:16.04
%labels
Maintainer Jeremy Nicklas
TurboVNC_Version 2.1.2
%apprun vncserver
exec vncserver "${@}"
%apprun vncpasswd
exec vncpasswd "${@}"
%apprun websockify
exec /opt/websockify/run "${@}"
%runscript
exec vncserver "${@}"
%environment
export PATH=/opt/TurboVNC/bin:${PATH}
%post
# Software versions
export TURBOVNC_VERSION=2.1.2
# Get dependencies
apt-get update
apt-get install -y --no-install-recommends \
locales \
wget \
ca-certificates \
xauth \
xfonts-base \
xkb-data \
x11-xkb-utils
# Configure default locale
echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
locale-gen en_US.utf8
/usr/sbin/update-locale LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
# Install TurboVNC
wget https://sourceforge.net/projects/turbovnc/files/${TURBOVNC_VERSION}/turbovnc_${TURBOVNC_VERSION}_amd64.deb -q
dpkg -i turbovnc_${TURBOVNC_VERSION}_amd64.deb
rm turbovnc_${TURBOVNC_VERSION}_amd64.deb
# Install websockify
apt-get update
apt-get install -y --no-install-recommends \
python \
python-numpy
mkdir -p /opt/websockify
wget https://github.com/novnc/websockify/archive/master.tar.gz -q -O - | tar xzf - -C /opt/websockify --strip-components=1
# Clean up
rm -rf /var/lib/apt/lists/*
Collection
- Name: nickjer/singularity-vncserver
- License: MIT License
View on Datalad
Metrics
key | value |
---|---|
id | /containers/nickjer-singularity-vncserver-2.1.2 |
collection name | nickjer/singularity-vncserver |
branch | master |
tag | 2.1.2 |
commit | 59bfc1574f3a2e2a2d2cdf10d808d2ac196dbcb6 |
version (container hash) | cbef60afe07c3660aee44813f4915e5f |
build date | 2021-01-24T16:47:56.001Z |
size (MB) | 196 |
size (bytes) | 74645535 |
SIF | Download URL (please use pull with shub://) |
Datalad URL | View on Datalad |
Singularity Recipe | Singularity Recipe on Datalad |
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.