Commit Graph

41 Commits

Author SHA1 Message Date
Sam Stepanyan c42460ce2f
Dockerfile change to multi-stage with 'nettacker' as entrypoint + related CI/CD changes (#1115)
* Update Dockerfile

multi-stage Dockerfile

* Update ci_cd.yml

modifications to support Dockerfile entrypoint changes

* Update Dockerfile

added --no-deps --no-cache-dir

* Update Dockerfile

added OCI Label and remove the whl file after installation following the CodeRabbit review

* Update Dockerfile

moved OCI label as copy-pasted in the wrong place

* Update Dockerfile

as per suggestion

Co-authored-by: Arkadii Yakovets <2201626+arkid15r@users.noreply.github.com>
Signed-off-by: Sam Stepanyan <sam.stepanyan@owasp.org>

---------

Signed-off-by: Sam Stepanyan <sam.stepanyan@owasp.org>
Co-authored-by: Arkadii Yakovets <2201626+arkid15r@users.noreply.github.com>
2025-08-09 15:30:45 +00:00
Sam Stepanyan 070902df5c
Update Dockerfile - bump python to 3.11.13 (#1110)
bump python to 3.11.13
2025-07-31 22:12:05 +00:00
Sam Stepanyan f257381c2a
Update Dockerfile - bump python to 3.11.11 (#1021)
bumping python image to 3.11.11

Signed-off-by: Sam Stepanyan <sam.stepanyan@owasp.org>
2025-02-21 20:45:08 +00:00
Arkadii Yakovets ba0a30cc7e
Update Dockerfile
- Remove redundant instructions
  - Don't copy local .data to the image
2024-09-09 19:03:04 -07:00
dependabot[bot] 0a6171bde7
Bump python from 3.11.9-slim to 3.11.10-slim (#896)
Bumps python from 3.11.9-slim to 3.11.10-slim.

---
updated-dependencies:
- dependency-name: python
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-09 18:45:06 -07:00
Arkadii Yakovets 6a3aaed8bb
Add README.md 2024-09-07 17:31:47 -07:00
Arkadii Yakovets 5e3103437b
Optimize docker image
- streamline COPY/RUN Dockerfile commands
  - update docker-compose.yml
  - add docker image build tests
2024-09-07 12:24:23 -07:00
Arkadii Yakovets 5c77f90000
Update Dockerfile 2024-08-19 09:34:55 -07:00
Arkadii Yakovets 14f6c06207
Nettacker code base major refactoring
This is a refactor of existing Nettacker code I've been working on recently. The (incomplete) list of changes:

          - add pre-commit checks
          - apply OOP approach to the application architecture
          - consolidate common modules logic into a base class
          - extract YAML parsing logic into a separate module
          - fix some typos
          - get rid of (not all) misused try/except blocks
          - migrate to poetry, remove requirements.* files
          - re-design configuration module
          - re-design logging module
          - split application logic into classes
          - use `pathlib` for path related manipulations
          - use context-based naming for variables, modules, directories, etc
          - use module level imports (vs function level)
          - use the base class for specific protocol libraries
2024-08-08 11:04:35 -07:00
Sam Stepanyan 4251ab4bb8
Update Dockerfile
Update Python base image to 3.11.9-slim

Signed-off-by: Sam Stepanyan <sam.stepanyan@owasp.org>
2024-05-10 08:36:08 +01:00
snyk-bot 0a34a65512
fix: Dockerfile to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-DEBIAN12-GNUTLS28-6159410
- https://snyk.io/vuln/SNYK-DEBIAN12-GNUTLS28-6159418
- https://snyk.io/vuln/SNYK-DEBIAN12-SYSTEMD-6137714
- https://snyk.io/vuln/SNYK-DEBIAN12-SYSTEMD-6137714
- https://snyk.io/vuln/SNYK-DEBIAN12-TAR-3253526
2024-03-01 05:28:33 +00:00
Sam Stepanyan 1042c20c0b
Update Dockerfile to use python 3.11.7
reducing vulnerabilities

Signed-off-by: Sam Stepanyan <sam.stepanyan@owasp.org>
2024-02-02 14:40:23 +00:00
snyk-bot ba39a2c279
fix: Dockerfile to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-DEBIAN12-GLIBC-5894114
- https://snyk.io/vuln/SNYK-DEBIAN12-GLIBC-5894115
- https://snyk.io/vuln/SNYK-DEBIAN12-GLIBC-5927132
- https://snyk.io/vuln/SNYK-DEBIAN12-GLIBC-5927132
- https://snyk.io/vuln/SNYK-DEBIAN12-OPENSSL-5812633
2023-10-13 18:50:33 +00:00
dependabot[bot] 91c1454b01
Bump python from 3.11.4-slim to 3.11.5-slim
Bumps python from 3.11.4-slim to 3.11.5-slim.

---
updated-dependencies:
- dependency-name: python
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-28 22:37:09 +00:00
dependabot[bot] 195ebd127a
Bump python from 3.11.3-slim to 3.11.4-slim
Bumps python from 3.11.3-slim to 3.11.4-slim.

---
updated-dependencies:
- dependency-name: python
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-08 22:58:08 +00:00
dependabot[bot] 3d8c898d94
Bump python from 3.11.2-slim to 3.11.3-slim
Bumps python from 3.11.2-slim to 3.11.3-slim.

---
updated-dependencies:
- dependency-name: python
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-06 22:58:04 +00:00
Sam Stepanyan 10b7a4e793
Update Dockerfile
Python docker image update
2023-02-20 03:52:33 +00:00
Ali Razmjoo 89e7b5cb40 remove unused dependencies 2022-10-07 00:24:39 +02:00
snyk-bot 01c5b3fff6
fix: Dockerfile to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-DEBIAN11-AOM-1290331
- https://snyk.io/vuln/SNYK-DEBIAN11-AOM-1298721
- https://snyk.io/vuln/SNYK-DEBIAN11-AOM-1300249
- https://snyk.io/vuln/SNYK-DEBIAN11-MARIADB105-2940588
- https://snyk.io/vuln/SNYK-DEBIAN11-MARIADB105-2940589
2022-10-06 09:19:24 +00:00
dependabot[bot] d3985a43af
Bump python from 3.10.0rc2 to 3.11.0rc2
Bumps python from 3.10.0rc2 to 3.11.0rc2.

---
updated-dependencies:
- dependency-name: python
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-24 18:01:10 +00:00
dependabot[bot] 232dbe6a1d
Bump python from 3.10.0b4 to 3.10.0rc2
Bumps python from 3.10.0b4 to 3.10.0rc2.

---
updated-dependencies:
- dependency-name: python
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-01 22:18:04 +00:00
snyk-bot 70bdc5be57
fix: Dockerfile to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-DEBIAN11-GLIBC-1296898
- https://snyk.io/vuln/SNYK-DEBIAN11-PYTHON39-1290158
- https://snyk.io/vuln/SNYK-DEBIAN11-PYTHON39-1290158
- https://snyk.io/vuln/SNYK-DEBIAN11-PYTHON39-1290158
- https://snyk.io/vuln/SNYK-DEBIAN11-PYTHON39-1290158
2021-10-01 21:02:26 +00:00
Ali Razmjoo 379af47d44 change version 2021-09-09 21:18:40 +02:00
Ali Razmjoo 5398909661 enhacements 2021-08-11 23:12:03 +02:00
Ali Razmjoo ab8bf71bbc enhancements 2021-08-11 22:58:31 +02:00
Ali Razmjoo 96e747177a enhancements 2021-08-10 15:26:32 +02:00
itsdivyanshjain 11c24e8b9d docker improvement, apt dependencies fixed and censys bump down(latest verison have issues) 2021-06-16 08:50:27 +05:30
itsdivyanshjain 92347eb5fc shebang fixes, docker simul install fixes and scripts(bash and win) fixes 2021-06-15 21:46:41 +05:30
itsdivyanshjain 034457ce24 added requirements-apt-get.txt 2021-06-12 22:57:45 +05:30
itsdivyanshjain 8649819a96 removed py2 code from rest of files and linted as well except lib directory 2021-06-12 22:19:25 +05:30
Ali-Razmjoo b25129f180 ditch travis and add github action 2021-01-28 15:22:22 +01:00
Ali Razmjoo 0127627cff fix dockerfile and add docker-compose 2020-10-16 00:56:19 +02:00
Ali Razmjoo 8b0fe5cbfc fix 2019-02-01 15:27:06 +01:00
Ali Razmjoo cbd8e6a654 docker error fix #188 2019-02-01 15:25:55 +01:00
Ali Razmjoo 2506aa3efa bug fixed #160 2018-06-21 12:13:41 +04:30
shaddygarg 20d73a8bf1 Fix #91 2018-03-21 22:43:20 +05:30
Ali Razmjoo 2dfcd73f34 prevent to remove git 2018-02-08 04:46:24 +03:30
Ali Razmjoo a1997f21de update dockerfile 2018-02-08 04:39:22 +03:30
Ali Razmjoo 5b4f938d30 update regarding dockerfile 2018-02-04 02:41:22 +03:30
Ali Razmjoo 59a151d9fc get latest version from github with Dockerfile 2017-12-24 15:49:17 +03:30
Ali Razmjoo 7d9784bb1b Create Dockerfile 2017-12-08 15:36:24 +03:30