-
Notifications
You must be signed in to change notification settings - Fork 552
Closed
Labels
Milestone
Description
Including the LICENSE file in the scaffolded .dockerignore file seems like an aggressive optimization. There is at least one case where an application had an existing Dockerfile but not an existing .dockerignore file, where the Dockerfile specifically references the LICENSE file it expects to be in the Docker build context. The scaffolded files and debug tasks/configuration therefore fail to build the Docker image.
While this may just be a one-off concern, unless there are overwhelming advantages of excluding a LICENSE file from the default Docker context, I'm not sure it's absolutely necessary and we should consider removing the exclusion.
Reactions are currently unavailable