Skip to content

augustine-tran/base-platform

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 following required components:

deploy-agent

This is the agent responsible for establishing connection between application containers and the tsuru API. See tsuru/deploy-agent for more details.

base deploy script

This base script 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)

It's possible to build platforms that do not use this image, but you need to ensure that deploy-agent is installed, and that you provide a deploy script that does everything that the base deploy script does.

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

About

Common base Docker image for tsuru platforms.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 88.9%
  • Nginx 8.4%
  • PHP 2.7%