Tsuru platform update
tsuru platform update¶
Updates a platform in tsuru.
Synopsis¶
Updates a platform in tsuru.
The name of the image can be automatically inferred in case you're using an official platform. Check https://github.com/tsuru/platforms for a list of official platforms.
The flags --enable and --disable can be used for enabling or disabling a platform.
Examples:
[[tsuru platform update java # uses official tsuru/java image from docker hub]] [[tsuru platform update java -i registry.company.com/tsuru/java # uses custom Java image]] [[tsuru platform update java -d /data/projects/java/Dockerfile # uses local Dockerfile]] [[tsuru platform update java -d https://platforms.com/java/Dockerfile # uses remote Dockerfile]]
tsuru platform update <platform name> [--dockerfile/-d Dockerfile] [--disable/--enable] [--image/-i image] [flags]
Options¶
--disable Disable the platform
-d, --dockerfile string URL or path to the Dockerfile used for building the image of the platform
--enable Enable the platform
-i, --image string Name of the prebuilt Docker image
-h, --help help for update
Options inherited from parent commands¶
--target string Tsuru server endpoint
--verbosity int Verbosity level: 1 => print HTTP requests; 2 => print HTTP requests/responses
SEE ALSO¶
- tsuru platform - A platform is a well-defined pack with installed dependencies for a language or framework that a group of applications will need. A platform might be a container template (Docker image).