acoustic-carpenter-78188
08/24/2025, 7:14 AM.dockerignore reduces context transfer to ~160MB, significantly speeding up integration test container builds.
• Before:
[image](https://private-user-images.githubusercontent.com/60069744/481353834-ceb56631-812c-4e2e-9e4e-0549b7ae4078.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NTY0Njc3OTAsIm5iZiI6MTc1NjQ2NzQ5MCwicGF0aCI6Ii82MDA2OTc0NC80ODEzNTM4MzQtY2ViNTY2MzEtODEyYy00ZTJlLTllNGUtMDU0OWI3YWU0MDc4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTA4MjklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwODI5VDExMzgxMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTFiNTMzMDNkODhkZWFkM2FkMWYwODkwOWIwMDZhMTg4ZDM2MDg2YWZkMjYwMGM4ZTliMzg0NTE1NzhhYzk1YmMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.s44frYWT22vL8YRfln-W8wW2xDhhx3pbgSKup0PhfPs)
• After:
[image](https://private-user-images.githubusercontent.com/60069744/481353843-f64648ba-ad13-4159-97c0-85bfc4ae4313.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NTY0Njc3OTAsIm5iZiI6MTc1NjQ2NzQ5MCwicGF0aCI6Ii82MDA2OTc0NC80ODEzNTM4NDMtZjY0NjQ4YmEtYWQxMy00MTU5LTk3YzAtODViZmM0YWU0MzEzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTA4MjklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwODI5VDExMzgxMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTJjMzI1OTc5NTc5ZWQ0N2FkNDZhY2E1YjNjMzVmZWFlMDBjYWZiMTg2OTVhOWRlNGM0MDVmMmY1YzQ5MWQxNTAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.-Xr57U0RsINrH52ZPdLWW5N5OH8QomqkQ_vSczbg8Xs)
## What changes were proposed in this pull request?
Add .dockerignore file to exclude development artifacts from Docker build context. Refer .dockerignore file setting here: https://gist.github.com/KernelA/04b4d7691f28e264f72e76cfd724d448
## How was this patch tested?
Running make build-dev to ensure the context size is reduced
### Setup process
### Screenshots
## Check all the applicable boxes
• I updated the documentation accordingly.
• All new and existing tests passed.
• All commits are signed-off.
## Related PRs
## Docs link
https://bito.ai#summarystart|
### Summary by Bito
This pull request introduces a .dockerignore file that optimizes Docker builds by excluding unnecessary files, reducing the context size from 8.8GB to approximately 160MB. This enhancement significantly improves the speed of integration test container builds and streamlines the development process.
flyteorg/flytekitacoustic-carpenter-78188
08/29/2025, 11:38 AM