snowflakedb / SnowAlert

Security Analytics Using The Snowflake Data Warehouse
Apache License 2.0
184 stars 57 forks source link

Issue with creating new image on docker for the application #555

Open SumitBaner opened 3 years ago

SumitBaner commented 3 years ago

Gives compliance issue for existing image when scanned as using root user. When I try to add a non root user it gives an error with message permission denied when the non root user tries to create the directory /snowalert as in the dockerfile.

Also when recreating the webui image we get the error when it tries to install pandas for the virtual env. It says "No matching distribution found for pandas==1.0.4"

Here I am using python 3.9 slim buster instead of python 3.7 slim stretch as the base image in docker file

Please suggest some solution for the above