Created
July 8, 2014 23:50
-
-
Save crosbymichael/782c6ba3a456bf45be7b to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
COMMIT "update apt cache" | |
RUN apt-get install -y --no-install-recommends \ | |
git \ | |
libxml2-dev \ | |
python \ | |
build-essential \ | |
make \ | |
gcc \ | |
python-dev \ | |
locales \ | |
python-pip | |
COMMIT "install python" | |
RUN dpkg-reconfigure locales && \ | |
locale-gen C.UTF-8 && \ | |
/usr/sbin/update-locale LANG=C.UTF-8 | |
COMMIT "configure locales" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment