Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change dockerfile base image #1722

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mjudeikis
Copy link

Describe the PR
When building more complicated apps go is a mandatory dependency In the image due to

swag/golist.go

Lines 14 to 15 in 6cdaaf5

cmd := exec.CommandContext(ctx, "go", append([]string{"list", "-json", "-e"}, args...)...)
cmd.Env = env

So we need to use image with go.

Otherwise, it fails with error go not in path

In addition, can somebody confirm GitHub image latest works fine? We had to rebuild manually as one in GitHub looks corrupted.

@sdghchj
Copy link
Member

sdghchj commented Dec 18, 2023

Hello, rebase your branch on the latest master, please.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants