GoogleCloudPlatform / samples-style-guide

Guidelines on writing effective Google Cloud samples.
https://googlecloudplatform.github.io/samples-style-guide/
Apache License 2.0
11 stars 19 forks source link

Proposal: Dockerfile Guidelines #100

Open grayside opened 1 year ago

grayside commented 1 year ago

Description

Add Dockerfile guidelines to the samples style guide. This could be done as a new section of the guide or a separate page, because we expect little to no rules overlap.

Example guidelines include:

Impact

This change will make sample Dockerfiles more consistent, set up some extensible practices for developers, and streamline troubleshooting of samples with Dockerfiles where teaching advanced Dockerfile syntax isn't the sample goal.

Challenge

TBD

grayside commented 1 year ago

We might also consider a canonical Dockerfile template starting place per language, but that doesn't replace having a set of guidelines.

Question: Dockerfile in samples style guide vs. separate page on Containerizing?