Last updated 26th March 2021
Objective
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, 3.1 |
Elixir | elixir |
1.9, 1.10 |
Go | golang |
1.11, 1.12, 1.13, 1.14, 1.15 |
Java | java |
11, 12, 8, 13, 14 |
Lisp | lisp |
1.5 |
Node.js | nodejs |
6, 8, 10, 12, 14 |
PHP | php |
7.3, 7.4, 8.0 |
Python | python |
2.7, 3.5, 3.6, 3.7, 3.8, 3.9 |
Ruby | ruby |
2.3, 2.4, 2.5, 2.6, 2.7 |
Example configuration
type: 'php:8.0'
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.
Did you find this guide useful?
Please feel free to give any suggestions in order to improve this documentation.
Whether your feedback is about images, content, or structure, please share it, so that we can improve it together.
Your support requests will not be processed via this form. To do this, please use the "Create a ticket" form.
Thank you. Your feedback has been received.