Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 905 Bytes

README.md

File metadata and controls

25 lines (18 loc) · 905 Bytes

base-platform

tsuru/base-platform

Base Docker image for tsuru platforms. It creates the required structure for tsuru platforms:

  • create the ubuntu user
  • create the /home/application directory
  • properly set paths permissions
  • install deploy-agent
  • place the base deploy script in the path /var/lib/tsuru/base/deploy

The image also provides the script that does the following steps:

  1. Downloads the archive provided by the tsuru API
  2. Extracts it in the /home/application/current directory
  3. Install operating system dependencies
  4. Handle default Procfiles (stored in the directory /var/lib/tsuru/default)

You may also invoke the install and deploy scripts manually, as the buildpack platform does: https://github.com/tsuru/platforms/blob/master/buildpack/Dockerfile.