Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support custom dockerignore files #753

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

beastawakens
Copy link
Collaborator

What is the feature/fix?

Docker added support for custom .dockerignore files based on the Dockerfile name here. As Convox tars up the dir to upload the build before analysing the Dockerfile name, we can support a custom ignorefile with a flag on the build CLI simply like this.

Does it has a breaking change?

No, it will default to the standard .dockerignore filename if not specfied.

How to use/test it?

Create a different .dockerignore file, pass this on a build with the --ignore flag and see if it is respected in the way the directory is tar'd up to upload for the build.

Checklist

  • New coverage tests
  • Unit tests passing
  • E2E tests passing
  • E2E downgrade/update test passing
  • Documentation updated
  • No warnings or errors on Deepsource/Codecov

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant