Type
The type
key defines the base container image that will be used to run the application. There is a separate base container image for each primary language for the application, often in multiple versions.
Supported types
Available languages and their supported versions include:
Language | runtime |
Supported version |
---|---|---|
C#/.Net Core | dotnet |
2.0, 2.1, 2.2 |
Go | golang |
1.11, 1.12, 1.13 |
Java | java |
11, 12, 8, 13 |
Lisp | lisp |
1.5 |
Node.js | nodejs |
6, 8, 10 |
PHP | php |
7.2, 7.3, 7.4 |
Python | python |
2.7, 3.5, 3.6, 3.7, 3.8 |
Ruby | ruby |
2.3, 2.4, 2.5, 2.6 |
Example configuration
type: 'php:7.4'
Runtime
The .platform.app.yaml
file also supports a runtime
key that allows selected customizations to the language runtime. As those possibilities vary by language, please see the appropriate language documentation.