Skip to content

[Docker build] add all files of type #107

@robert2411

Description

@robert2411

Tell us about your request
It would be good for example for maven projects that use docker multistage build to have to option to add all files of a type to the docker build keeping the folder structure so in case of a maven multi module project all the pom.xml files so you don't have to add them one by one like:

copy pom.xml pom.xml
copy module1/pom.xml module1/pom.xml

This way the docker build cache can be used more efficient

Which service(s) is this request for?
Docker build

Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
Simplify the dockerfile and make it less error prone for big projects

Are you currently working around the issue?
by adding a line per pom.xml file in the dockerfile

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

Labels

buildImprovements to developers build experience with Dockercommunity_newNew idea raised by a community contributoropen sourceImprovements to open source projects

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions