template/dockerfiles/php/draft.yaml (39 lines of code) (raw):
language: php
displayName: PHP
templateName: "dockerfile-php"
description: "This template is used to create a Dockerfile for a PHP application"
versions: ["0.0.1"]
defaultVersion: "0.0.1"
type: "dockerfile"
variables:
- name: "PORT"
type: "int"
kind: "port"
default:
value: "80"
description: "the port exposed in the application"
versions: ">=0.0.1"
- name: "BUILDERVERSION"
type: "string"
kind: "containerImageVersion"
default:
value: "1"
description: "the version of composer installed during the build stage to be used by the application"
exampleValues: ["1"]
versions: ">=0.0.1"
- name: "VERSION"
type: "string"
kind: "containerImageVersion"
default:
value: "7.1-apache"
description: "the version of php used by the application"
exampleValues: ["7.1-apache"]
versions: ">=0.0.1"
- name: "DOCKERFILENAME"
type: "string"
kind: "dockerFileName"
default:
value: "Dockerfile"
disablePrompt: true
description: "the name of the Dockerfile"
versions: ">=0.0.1"