Created
July 8, 2014 23:43
-
-
Save crosbymichael/25f0b29fefa2ec51a62d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
function RUN() { | |
nsinit exec -- "$@" | |
} | |
function COMMIT() { | |
git add -A | |
git commit -m "$1" | |
echo "--- COMMITED ---" | |
} | |
RUN apt-get update | |
RUN apt-get install -y --no-install-recommends \ | |
git \ | |
libxml2-dev \ | |
python \ | |
build-essential \ | |
make \ | |
gcc \ | |
python-dev \ | |
locales \ | |
python-pip | |
RUN dpkg-reconfigure locales && \ | |
locale-gen C.UTF-8 && \ | |
/usr/sbin/update-locale LANG=C.UTF-8 | |
COMMIT "install python" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment