You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/07/14 09:12:59 UTC
[GitHub] [airflow] potiuk opened a new issue #9810: Yarn.lock should not be present in the prod image
potiuk opened a new issue #9810:
URL: https://github.com/apache/airflow/issues/9810
**Apache Airflow version**:
1.10.11, 2.0.0
**What happened**:
Yarn.lock and package.json file are present in Production image. This make for example security scanners to find vulnerabilities even if they are not really "present".
**What you expected to happen**:
Yarn.lock and package.json should not be present in the image.
**How to reproduce it**:
Run `docker run -it <AIRFLOW_IMAGE> bash`
ls /home/airflow/.local/lib/python*/site-packages/airflow/www_*/package.json /home/airflow/.local/lib/python*/site-packages/airflow/www_*/yarn.lock
Both files are present.
They should not be.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] potiuk closed issue #9810: Yarn.lock should not be present in the prod image
Posted by GitBox <gi...@apache.org>.
potiuk closed issue #9810:
URL: https://github.com/apache/airflow/issues/9810
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org