- Updated CONTRIBUTING.md to clarify the use of Makefile targets for running tasks inside Docker, eliminating the need for local Go or Node installations. - Introduced docker-compose.tools.yml for backend and frontend tools, allowing for streamlined testing, linting, and formatting. - Created Dockerfile.tools to set up a Go environment with necessary tools for testing and linting. - Modified Makefile to include separate targets for backend and frontend tests, improving clarity and usability. - Updated documentation in development.md and testing.md to reflect the new Docker-based workflow for running tests and development tasks.
8 lines
262 B
Docker
8 lines
262 B
Docker
# Backend tools image: Go + golangci-lint for test, fmt, lint.
|
|
# Source is mounted at /hnh-map at run time via docker-compose.tools.yml.
|
|
FROM golang:1.24-alpine
|
|
|
|
RUN go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.61.0
|
|
|
|
WORKDIR /hnh-map
|