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

Use dockerignore rules that play better with recent docker versions #7713

Merged
merged 2 commits into from
Aug 3, 2023

Conversation

deivid-rodriguez
Copy link
Contributor

Apparently new versions on Docker (at least on v23) no longer include Gemfile.lock files inside bundler/spec/fixtures in the build image.

Reading our current .dockerignore, it seems that the new behaviour prioritizes more explicit rules (not ending with *) even if they appear earlier in the file.

I'm not sure if this is expected, or a bug, but we can change the entries to not be ambiguous and simplify them.

@deivid-rodriguez deivid-rodriguez requested a review from a team as a code owner August 3, 2023 17:31
@deivid-rodriguez
Copy link
Contributor Author

This should fix Bundler's CI, currently broken due to the recent upgrade of the docker client in Actions base image.

Apparently new versions on Docker (at least on v23) no longer include
Gemfile.lock files inside `bundler/spec/fixtures` in the build image.

Reading our current `.dockerignore`, it seems that the new behaviour
prioritizes more explicit rules (not ending with `*`) even if they appear
earlier in the file.

I'm not sure if this is expected, or a bug, but we can change the
entries to not be ambiguous and simplify them.
@deivid-rodriguez deivid-rodriguez merged commit 4c640f2 into main Aug 3, 2023
90 checks passed
@deivid-rodriguez deivid-rodriguez deleted the deivid-rodriguez/fix-bundler-ci branch August 3, 2023 18:02
brettfo pushed a commit to brettfo/dependabot-core that referenced this pull request Oct 11, 2023
…ix-bundler-ci

Use dockerignore rules that play better with recent docker versions
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.

3 participants