Skip to content

Instantly share code, notes, and snippets.

@fsouza
Last active November 12, 2015 15:25
Show Gist options
  • Save fsouza/9d70d748c31f8ff0bdec to your computer and use it in GitHub Desktop.
Save fsouza/9d70d748c31f8ff0bdec to your computer and use it in GitHub Desktop.
# Copyright 2015 basebuilder authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
# this file describes how to build tsuru python image
# to run it:
# 1 - tsuru-admin platform-add python -d https://raw.github.com/tsuru/basebuilder/master/python/Dockerfile
from ubuntu-debootstrap:14.04
run locale-gen en_US.UTF-8
env LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8
run apt-get update && apt-get install wget sudo -y --force-yes
run wget http://github.com/tsuru/basebuilder/tarball/master -O basebuilder.tar.gz --no-check-certificate
run mkdir /var/lib/tsuru
run tar -xvf basebuilder.tar.gz -C /var/lib/tsuru --strip 1
run rm basebuilder.tar.gz
run cp /var/lib/tsuru/python/deploy /var/lib/tsuru
run /var/lib/tsuru/python/install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment