Skip to content

Commit

Permalink
Exclude yarn.lock from built Python wheel file (apache#16577)
Browse files Browse the repository at this point in the history
Same as apache#16494 - However that PR had to be reverted in apache#16518 as it failed building of PROD image, this PR/commit will fix it.

PROBLEM: Currently the airflow wheel is built with the yarn.lock which is not actually used by the airflow itself. Having this file in the docker image causes the clair and trivy scanners to fail

FIX: The fix is to exclude the yarn.lock by specifying it in the manifest.in
(cherry picked from commit aa79bfe)
(cherry picked from commit 6c80e3f)
(cherry picked from commit 25d46e4)
  • Loading branch information
kaxil committed Jul 21, 2021
1 parent 878e7aa commit fc685c2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,4 @@ graft scripts/upstart
graft airflow/config_templates
recursive-exclude airflow/www_rbac/node_modules *
global-exclude __pycache__ *.pyc
exclude airflow/www_rbac/yarn.lock

0 comments on commit fc685c2

Please sign in to comment.