Skip to content

build: Refactor Dockerfile to utilize official images for most Go too…#14

Open
pi-2r wants to merge 1 commit intozakirkun:mainfrom
pi-2r:feat/guardian-upgrades
Open

build: Refactor Dockerfile to utilize official images for most Go too…#14
pi-2r wants to merge 1 commit intozakirkun:mainfrom
pi-2r:feat/guardian-upgrades

Conversation

@pi-2r
Copy link

@pi-2r pi-2r commented Feb 14, 2026

This pull request introduces significant improvements to the Docker build process for the Guardian CLI and adds a new Makefile to streamline development and deployment tasks. The Dockerfile is refactored to use official binaries for most Go-based security tools, improving reliability and reducing build complexity. Additionally, a Makefile is introduced to automate common workflows such as environment setup, dependency management, linting, testing, and Docker operations.

Dockerfile refactor and improvements:

  • Refactored the Dockerfile to use official binaries for most Go-based security tools (such as httpx, subfinder, nuclei, gobuster, amass, gitleaks), and to build only ffuf from source, simplifying the build process and improving reliability. [1] [2]
  • Added gcompat to the list of installed packages to ensure compatibility with Go binaries in the Alpine-based image. [1] [2]

Development workflow enhancements:

  • Added a comprehensive Makefile to automate environment setup, dependency installation, code formatting, linting, testing, Docker build/run, and CLI execution, making development and deployment more efficient and standardized.

…ls and add a Makefile for development and Docker automation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments