Closed hexdrx closed 2 months ago
How I can solve it?
Do you want to rebuild the Docker image? (Y/n): y Building the Docker image... [+] Building 3.9s (25/30) docker:desktop-linux => [internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 1.92kB 0.0s => [internal] load metadata for docker.io/kalilinux/kali-rolling:latest 0.9s => [internal] load .dockerignore 0.0s => => transferring context: 95B 0.0s => [ 1/26] FROM docker.io/kalilinux/kali-rolling:latest@sha256:039989f2f 0.0s => CANCELED [internal] load build context 2.8s => => transferring context: 124.31MB 2.8s => CACHED [ 2/26] RUN apt-get update && apt-get upgrade -y 0.0s => CACHED [ 3/26] RUN apt-get install -y curl dnsutils wget 0.0s => CACHED [ 4/26] RUN apt-get install -y nmap sqlmap autopsy john 0.0s => CACHED [ 5/26] RUN apt-get install -y vim python3-pip git python-is-p 0.0s => CACHED [ 6/26] RUN apt-get install -y zaproxy docker.io 0.0s => CACHED [ 7/26] RUN pip install zaproxy 0.0s => CACHED [ 8/26] WORKDIR /home/ 0.0s => CACHED [ 9/26] RUN apt-get update && apt-get install -y wget gnupg2 s 0.0s => CACHED [10/26] RUN wget -q -O - https://dl-ssl.google.com/linux/linux 0.0s => CACHED [11/26] RUN apt-get update && apt-get install -y google-chrome 0.0s => CACHED [12/26] WORKDIR /root/ 0.0s => CACHED [13/26] RUN wget https://github.com/RustScan/RustScan/releases 0.0s => CACHED [14/26] RUN dpkg -i rustscan_2.2.2_amd64.deb 0.0s => CACHED [15/26] RUN rm rustscan_2.2.2_amd64.deb 0.0s => CACHED [16/26] RUN apt-get install -y iputils-ping 0.0s => CACHED [17/26] RUN apt-get clean && rm -rf /var/lib/apt/lists/* 0.0s => CACHED [18/26] RUN mkdir /opt/nettacker 0.0s => CACHED [19/26] RUN git clone https://github.com/OWASP/Nettacker.git / 0.0s => CACHED [20/26] RUN apt-get remove -y python3-cryptography 0.0s => ERROR [21/26] RUN pip3 install -r /opt/nettacker/requirements.txt 2.8s ------ > [21/26] RUN pip3 install -r /opt/nettacker/requirements.txt: 2.147 ERROR: Could not open requirements file: [Errno 2] No such file or directory: '/opt/nettacker/requirements.txt' ------ Dockerfile:36 -------------------- 34 | RUN git clone https://github.com/OWASP/Nettacker.git /opt/nettacker 35 | RUN apt-get remove -y python3-cryptography 36 | >>> RUN pip3 install -r /opt/nettacker/requirements.txt 37 | RUN chmod +x /opt/nettacker/nettacker.py 38 | RUN ln -s /opt/nettacker/nettacker.py /usr/local/bin/nettacker -------------------- ERROR: failed to solve: process "/bin/sh -c pip3 install -r /opt/nettacker/requirements.txt" did not complete successfully: exit code: 1 View build details: docker-desktop://dashboard/build/desktop-linux/desktop-linux/vcpmh72h7t1jgjg6z4vxql59c Docker build failed
RUN pip3 install -r /opt/nettacker/requirements.txt u should replace it RUN pip3 install -r /opt/nettacker/docs/requirements.txt
How I can solve it?