Skip to content

Instantly share code, notes, and snippets.

@crosbymichael
Created July 8, 2014 23:43
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save crosbymichael/25f0b29fefa2ec51a62d to your computer and use it in GitHub Desktop.
Save crosbymichael/25f0b29fefa2ec51a62d to your computer and use it in GitHub Desktop.
#!/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