Skip to content

Add gcc, glibc-dev, and Go PATH to base guest image#81

Merged
JAORMX merged 1 commit intomainfrom
golang-path-glibc
Mar 24, 2026
Merged

Add gcc, glibc-dev, and Go PATH to base guest image#81
JAORMX merged 1 commit intomainfrom
golang-path-glibc

Conversation

@JAORMX
Copy link
Copy Markdown
Contributor

@JAORMX JAORMX commented Mar 24, 2026

The Go toolchain was installed but not on PATH, causing agents to fail
to locate it. Add /usr/lib/go/bin, ~/go/bin, and ~/.local/bin to
the image-wide PATH via ENV. Also add gcc and glibc-dev so CGO-
enabled builds work out of the box.

Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com
Signed-off-by: Juan Antonio Osorio ozz@stacklok.com

The Go toolchain was installed but not on PATH, causing agents to fail
to locate it. Add `/usr/lib/go/bin`, `~/go/bin`, and `~/.local/bin` to
the image-wide PATH via ENV. Also add `gcc` and `glibc-dev` so CGO-
enabled builds work out of the box.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Juan Antonio Osorio <ozz@stacklok.com>
@JAORMX JAORMX merged commit f8f6825 into main Mar 24, 2026
8 checks passed
@JAORMX JAORMX deleted the golang-path-glibc branch March 24, 2026 06:27
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.

1 participant