cisagov / log4j-scanner

log4j-scanner is a project derived from other members of the open-source community by CISA to help organizations identify potentially vulnerable web services affected by the log4j vulnerabilities.
1.28k stars 215 forks source link

requirements.txt file missing #12

Closed paulbadcock closed 2 years ago

paulbadcock commented 2 years ago

🐛 Summary

The requirements.txt is missing from the log4-scanner folder

To reproduce

Steps to reproduce the behavior:

  1. cd log4-scanner
  2. docker build . -t log4-scanner

Expected behavior

docker container to build

Any helpful log output or screenshots

failed docker build

 => [internal] load build context                                                                                                0.3s
 => => transferring context: 42.25kB                                                                                             0.2s
 => CACHED [2/6] WORKDIR /app                                                                                                    0.0s
 => ERROR [3/6] COPY requirements.txt requirements.txt                                                                           0.0s
------
 > [3/6] COPY requirements.txt requirements.txt:
------
failed to compute cache key: "/requirements.txt" not found: not found

Add any screenshots of the problem here.

paulbadcock commented 2 years ago

Submitted a PR which fixes the issue.

jauderho commented 2 years ago

Just commented on your PR

paulbadcock commented 2 years ago

New PR with suggested change from @jauderho