Skip to content

Conversation

@jepio
Copy link
Contributor

@jepio jepio commented Feb 16, 2024

Without '-linkmode external' some of the produced binaries were not actually static. /bin/garm was fine but providers would fail with "exit code 127" when executed. Unpacking the container image and running the binaries in strace showed that they were accessing the musl dynamic linker.

Without '-linkmode external' some of the produced binaries were not actually
static. /bin/garm was fine but providers would fail with "exit code 127" when
executed. Unpacking the container image and running the binaries in strace
showed that they were accessing the musl dynamic linker.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
@gabriel-samfira gabriel-samfira merged commit f68cf98 into cloudbase:main Feb 16, 2024
@gabriel-samfira
Copy link
Member

Thanks!

@gabriel-samfira
Copy link
Member

Running the image build action now. It should finish in about 30 minutes.

@jepio jepio deleted the fix-static-docker branch February 22, 2024 12:28
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.

2 participants