Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 1.07 KB

add-platform.rst

File metadata and controls

35 lines (22 loc) · 1.07 KB

Installing platforms

A platform is a well defined pack with installed dependencies for a language or framework that a group of applications will need.

Platforms are defined as Dockerfiles and tsuru already have a number of supported ones listed in https://github.com/tsuru/basebuilder

These platforms don't come pre-installed in tsuru, you have to add them to your server using the platform-add <tsuru_admin_platform_add_cmd> command in tsuru- admin </reference/tsuru-admin>.

bash

tsuru-admin platform-add platform-name --dockerfile dockerfile-url

For example, to install the Python platform from tsuru's basebuilder repository you simply have to call:

bash

tsuru-admin platform-add python --dockerfile https://raw.githubusercontent.com/tsuru/basebuilder/master/python/Dockerfile