Ensure that Dockerfile_multistage builds and is runnable#38
Merged
d-Rickyy-b merged 1 commit intod-Rickyy-b:masterfrom Jun 16, 2024
Merged
Ensure that Dockerfile_multistage builds and is runnable#38d-Rickyy-b merged 1 commit intod-Rickyy-b:masterfrom
d-Rickyy-b merged 1 commit intod-Rickyy-b:masterfrom
Conversation
It appears that the `go build` command was pointing to the wrong directory - the build was failing as follows: ``` ... => ERROR [builder 7/8] RUN go build -ldflags="-w -s" -o /go/bin/certstream-server-go /go/src/certstream-server-go/cmd ------ > [builder 7/8] RUN go build -ldflags="-w -s" -o /go/bin/certstream-server-go /go/src/certstream-server-go/cmd: no Go files in /go/src/certstream-server-go/cmd ``` After it was fixed, the configfile had 0750 permissions - it was owned by root:root, thus certstream-server-go was failing to start. ``` config.go:49: Error while parsing yaml file: open /app/config.yaml: permission denied ``` This commit resolves this issue too.
Owner
|
Thank you very much for spotting and fixing the issue :) |
messede-degod
pushed a commit
to messede-degod/certstream-server-go
that referenced
this pull request
Mar 30, 2025
Ensure that Dockerfile_multistage builds and is runnable
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
It appears that the
go buildcommand was pointing to the wrong directory - the build was failing as follows:After it was fixed, the configfile had 0750 permissions - it was owned by root:root, thus certstream-server-go was failing to start.
This commit resolves this issue too.