tin6150/guiDesk:latest

$ singularity pull shub://tin6150/guiDesk:latest

Singularity Recipe

# Singularity container definition for 
# guiDesk
# lightweight gui desktop (file manager, browser)
# centos  7 
# https://github.com/tin6150/guiDesk
# https://singularity-hub.org/collections/4551


BootStrap: docker
#From: centos:7.6.1810
From: centos:7
#From: centos:8

%help
	This container is a CentOS  with a light GUI desktop (file manager, firefox)
  Pull and run via singularity hub:
	singularity pull --name guiDesk.sif shub://tin6150/guiDesk
	Then run one of these commands:
	singularity exec guiDesk.sif thunar    # xfce file manager
	singularity exec guiDesk.sif ristretto # simple picture viewer
	singularity exec guiDesk.sif mousepad  # simple text editor


# copy files into the container 
# https://singularity.lbl.gov/docs-recipes#:~:text=If%20you%20want%20to%20copy,a%20path%20in%20the%20container.
# no destination means /
%files
	add_package.sh 

%runscript
	#echo "vim from inside the container..."
	xfe "$@"


%post
	#echo "Hello from inside the container"
	touch /THIS_IS_INSIDE_SINGULARITY
	#yum -ty update 
	#yum -ty install vim python2 zsh environment-modules
	#dnf --assumeyes --quiet install vim python2 zsh environment-modules
	pwd
	ls 
	bash -x ./add_package.sh | tee add_package.log

	echo "end"                  >> /THIS_IS_INSIDE_SINGULARITY
	date                        >> /THIS_IS_INSIDE_SINGULARITY

%labels
	MAINTAINER  Tin Ho tin'at'lbl.gov

Collection


View on Datalad

Metrics

key value
id /containers/tin6150-guiDesk-latest
collection name tin6150/guiDesk
branch master
tag latest
commit 90837c31c21bbd5c44530a2e44f03b8fe283aa03
version (container hash) 483b0f2caeaea5c944c3b28356c46cf11274b62b78624538bc079cc97a923f27
build date 2020-07-18T01:18:23.519Z
size (MB) 486.7109375
size (bytes) 510353408
SIF Download URL (please use pull with shub://)
Datalad URL View on Datalad
Singularity Recipe Singularity Recipe on Datalad
We cannot guarantee that all containers will still exist on GitHub.