aws / amazon-mwaa-docker-images

Apache License 2.0
24 stars 11 forks source link

Port the license checking code + Improving Docker build time #96

Closed rafidka closed 3 months ago

rafidka commented 3 months ago

Issue #, if available: N/A

Description of changes: Add a bootstrapping step to make sure we are the approved licenses in the packages we use.

While at this, I also improved the Dockerfiles to avoid unnecessary rebuilds. Previously, I was copying the entire bootstrap folder before bootstrapping, which resulted in Docker having to repeat the copying step, and everything also after it, resulting in redoing bootstrapping even, if a single line changed in any bootstrap file.


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.