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

[CI][Dev] Prune .dockerignore #43969

Closed
pitrou opened this issue Sep 5, 2024 · 2 comments
Closed

[CI][Dev] Prune .dockerignore #43969

pitrou opened this issue Sep 5, 2024 · 2 comments

Comments

@pitrou
Copy link
Member

pitrou commented Sep 5, 2024

Describe the enhancement requested

The .dockerignore file governs which files are sent in the "build context" of a Docker image, which in turn impacts Docker caching.

Our .dockerignore file seems to have a lot of stale entries. Also, some of them seem dubious (why include dev/archery/setup.py if you don't include Archery's source tree, for example?).

Component(s)

Continuous Integration, Developer Tools

@pitrou
Copy link
Member Author

pitrou commented Sep 5, 2024

cc @kou

pitrou added a commit to pitrou/arrow that referenced this issue Sep 5, 2024
pitrou added a commit to pitrou/arrow that referenced this issue Sep 5, 2024
pitrou added a commit to pitrou/arrow that referenced this issue Sep 5, 2024
pitrou added a commit that referenced this issue Sep 5, 2024
### Rationale for this change

The smaller the better, according to https://docs.docker.com/build/cache/optimize/

### What changes are included in this PR?

Prune obsolete or unnecessary inclusions from `.dockerignore`.

### Are these changes tested?

Yes, by CI.

### Are there any user-facing changes?

No.

* GitHub Issue: #43969

Authored-by: Antoine Pitrou <antoine@python.org>
Signed-off-by: Antoine Pitrou <antoine@python.org>
@pitrou pitrou added this to the 18.0.0 milestone Sep 5, 2024
@pitrou
Copy link
Member Author

pitrou commented Sep 5, 2024

Issue resolved by pull request 43971
#43971

@pitrou pitrou closed this as completed Sep 5, 2024
zanmato1984 pushed a commit to zanmato1984/arrow that referenced this issue Sep 6, 2024
### Rationale for this change

The smaller the better, according to https://docs.docker.com/build/cache/optimize/

### What changes are included in this PR?

Prune obsolete or unnecessary inclusions from `.dockerignore`.

### Are these changes tested?

Yes, by CI.

### Are there any user-facing changes?

No.

* GitHub Issue: apache#43969

Authored-by: Antoine Pitrou <antoine@python.org>
Signed-off-by: Antoine Pitrou <antoine@python.org>
khwilson pushed a commit to khwilson/arrow that referenced this issue Sep 14, 2024
### Rationale for this change

The smaller the better, according to https://docs.docker.com/build/cache/optimize/

### What changes are included in this PR?

Prune obsolete or unnecessary inclusions from `.dockerignore`.

### Are these changes tested?

Yes, by CI.

### Are there any user-facing changes?

No.

* GitHub Issue: apache#43969

Authored-by: Antoine Pitrou <antoine@python.org>
Signed-off-by: Antoine Pitrou <antoine@python.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant