Skip to content

Instantly share code, notes, and snippets.

@icaoberg
Created November 13, 2019 20:05
Show Gist options
  • Save icaoberg/befd963deaf3ff13aa7f8da4c4f75707 to your computer and use it in GitHub Desktop.
Save icaoberg/befd963deaf3ff13aa7f8da4c4f75707 to your computer and use it in GitHub Desktop.
Singularity script for basic, empty Ubuntu 16.04
Bootstrap: docker
From: ubuntu:16.04
IncludeCmd: yes
%labels
Maintainer icaoberg AT alumni DOT cmu DOT edu
Version v1.0
%runscript
exec /usr/bin/python "$@"
%post
/usr/bin/apt-get update && /usr/bin/apt-get -y upgrade
/usr/bin/apt-get -y install module-init-tools
/usr/bin/apt-get update --fix-missing
/usr/bin/apt-get install -y --no-install-recommends apt-utils build-essential
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment