| FROM kalilinux/kali-rolling | |
| RUN apt update && apt upgrade -y | |
| RUN apt install wget git python3 python3-venv libgl1 libglib2.0-0 -y | |
| RUN git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git | |
| RUN chmod +x /stable-diffusion-webui/webui.sh | |
| RUN useradd -m toor | |
| RUN chown toor:toor -R /stable-diffusion-webui/ | |
| USER toor | |
| RUN cd /stable-diffusion-webui/extensions && git clone https://github.com/Mikubill/sd-webui-controlnet.git | |
| ENTRYPOINT /stable-diffusion-webui/webui.sh --skip-torch-cuda-test --no-half --listen |