-
Notifications
You must be signed in to change notification settings - Fork 0
Description
The goal of this issue is to add a configuration to the repository that makes local development more straightforward. The main goal is to avoid having to push changes to GitHub before they can be integrated into the Docker containers for testing.
The core idea is to create a Docker container that builds the application, resolving the local dependencies with replace directives in the go.mod file(s). The replace directives should allow Go to build the application using local versions of the Kebeng services rather than resolving their source code from GitHub.
Alternative Dockerfiles will have to be created for this, as the current Dockerfiles don't have enough context in the build stage to allow for these replace directives to resolve dependencies of other Kebeng services.
So, in short, this issue aims to:
- Analyze the existing
go.modfiles and create a copy of them for resolving dependencies locally rather than through GitHub - Use this alternate
go.modfile within a new, development-focusedDockerfile - Append information about this setup to the
README.MD, or alternatively create aDEVELOPMENT.MD.