You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The template dockerfile content is now placed in a go source file. Consider extracting the template dockerfile content into separate dockerfiles, like go.dockerfile, java.dockerfile, and using go:embed to embed dockerfile content as string variables in a index go source file.
By this way, we could get dockerfile highlighting feature provided by IDE and it will be easier to use tools to check the syntax and format the source file. It also makes it easier for us to support more runtimes, modify individual runtime configuration files, etc.
The text was updated successfully, but these errors were encountered:
The template dockerfile content is now placed in a go source file. Consider extracting the template dockerfile content into separate dockerfiles, like
go.dockerfile
,java.dockerfile
, and usinggo:embed
to embed dockerfile content as string variables in a index go source file.By this way, we could get dockerfile highlighting feature provided by IDE and it will be easier to use tools to check the syntax and format the source file. It also makes it easier for us to support more runtimes, modify individual runtime configuration files, etc.
The text was updated successfully, but these errors were encountered: