Thanks for your interest in contributing to dockerize.
This project is written in Go and produces the dockerize binary.
- Install a supported Go toolchain.
- Clone the repository.
- From the repository root, build the project:
go buildIf you use the provided Makefile, the available development targets include:
make lint
make test
make dockerize
make cleanThe make dockerize target builds and installs the dockerize binary with version metadata by running:
go install -ldflags "$(LDFLAGS)"Run the full test suite from the repository root with:
go test -v -race ./...This is the same command used by:
make testBefore opening a pull request, please make sure your changes build cleanly and the relevant tests pass.
When submitting a pull request:
- Keep changes focused and scoped to the problem being solved.
- Add or update tests when behavior changes or bugs are fixed.
- Ensure
go build ./...succeeds. - Ensure
go test ./...ormake testpasses locally. - Update documentation when user-facing behavior or usage changes.
- Include a clear description of the change and the motivation behind it.
Small, well-explained pull requests are easier to review and merge.