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
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