seqeralabs / wave-cli

Command line tool for Wave containers provisioning service
https://seqera.io/wave
Apache License 2.0
13 stars 3 forks source link

Add support for .dockerignore file #9

Closed pditommaso closed 1 year ago

pditommaso commented 1 year ago

The Wavelit command line tool allows specifying the build context via the --context option.

When using this option, the content of the context directory is compressed and uploaded to the Wave backend.

This ticket aims to add to the Wave app the ability to support the .dockerignore file to prevent the transfer of unnecessary data.

When the .dockerignore is found in the root of the context directory, if should be parsed accordingly the Docker definition, and all file matching the exclusion rules should not be included in the target context transfer.

munishchouhan commented 1 year ago

To achieve this functionality I have created a PR in wave to handle to .dockerignore file https://github.com/seqeralabs/wave/pull/281