Thursday, July 31, 2025

Sec-Test – DockF-Sec-Test Helps To Make Your Dockerfile Instructions Extra Safe




DockF-Sec-Test helps to make your Dockerfile instructions safer.

Finished

  • [x] First-level safety notification within the Dockerfile

TODO Record

  • [ ] Accurately detect the Dockerfile.
  • [ ] Second-level safety notification within the Dockerfile.
  • [ ] Safety notification in Docker pictures.
  • [ ] ***** (Non-public Repository)

Set up

From Supply Code

You should utilize virtualenv for package deal dependencies earlier than set up.

git clone https://github.com/OsmanKandemir/docf-sec-check.git
cd docf-sec-check
python setup.py construct
python setup.py set up

From Pypi

The applying is accessible on PyPI. To put in with pip:

pip set up docfseccheck

From Dockerfile

You may run this software on a container after construct a Dockerfile. That you must specify a path (YOUR-LOCAL-PATH) to scan the Dockerfile in your native.

docker construct -t docfseccheck .
docker run -v /Dockerfile:/docf-sec-check/Dockerfile docfseccheck -f /docf-sec-check/Dockerfile

From DockerHub

docker pull osmankandemir/docfseccheck:v1.0
docker run -v /Dockerfile:/docf-sec-check/Dockerfile osmankandemir/docfseccheck:v1.0 -f /docf-sec-check/Dockerfile

Utilization

-f DOCKERFILE [DOCKERFILE], --file DOCKERFILE [DOCKERFILE] Dockerfile path. --file Dockerfile

Operate Utilization

from docfchecker import DocFChecker

#Dockerfile is your file PATH.

DocFChecker(["Dockerfile"])

Improvement and Contribution

See; CONTRIBUTING.md

License

Copyright (c) 2024 Osman Kandemir Licensed underneath the GPL-3.0 License.

Donations

For those who like DocF-Sec-Test and wish to present assist, you should utilize Purchase A Espresso or Github Sponsors characteristic for the developer utilizing the button under.

Or

Sponsor me : https://github.com/sponsors/OsmanKandemir 😊

Your assist will probably be a lot appreciated😊



Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles

PHP Code Snippets Powered By : XYZScripts.com