Missing Documentation on how to add and/or customize existing language Dockerfiles #3247
-
Originally posted by @bwateratmsft in #2026 (comment) However, I cannot find any reference to the documentation on how-to add and/or customize the generated Dockerfile using VSCode. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Converted to a discussion. The extension uses Handlebars templates to scaffold Dockerfiles (and other Docker-related assets). By default it uses the templates within the extension install directory, in |
Beta Was this translation helpful? Give feedback.
Converted to a discussion.
The extension uses Handlebars templates to scaffold Dockerfiles (and other Docker-related assets). By default it uses the templates within the extension install directory, in
resources/templates
, but the path for templates can be changed using thedocker.scaffolding.templatePath
setting in VSCode. Any templates you place within that folder specified by the setting will be used; if absent then the templates from the extension install path will be used. You would want to use the same folder structure as what is under the installed templates.