update to Go 1.24.4 and simplify build #374
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request includes several changes to streamline the Docker build process, update dependencies, and simplify the project structure. The most important changes include removing redundant Dockerfiles, consolidating build steps, updating the Go base image, and upgrading dependencies in
go.mod
.Docker build process improvements:
build.Dockerfile
file, consolidating its functionality intobuilder/build.Dockerfile
and simplifying the build process.builder/build.Dockerfile
togolang:1.24.4
with a new digest for improved security and compatibility.builder/build.sh
to remove references to the deletedbuild.Dockerfile
and streamline the container creation and file copying process.Dependency updates:
go.mod
, including Prometheus libraries,golang.org/x
packages, andgoogle.golang.org/protobuf
, to their latest versions for improved functionality and bug fixes.Cleanup and simplification:
ENTRYPOINT
andCMD
lines fromDockerfile
to clean up unused code.