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

Final debug helper images must be for target platform #78

Merged
merged 2 commits into from
May 27, 2021

Conversation

briandealwis
Copy link
Member

Fixes: GoogleCloudPlatform/cloud-code-samples#721

The debug support images are busybox images is essentially a little script that copies set of files required for a particular language runtime to a specific directory. This script is a Bourne shell script.

Due to an error in the Dockerfiles, these debug support images were being created using the build-platform's os/arch. As the images are built from a linux/amd64, the linux/arm64 debug support image had a linux/amd64 /bin/sh and so failed on a linux/arm64. My testing is on an Apple M1 with Docker Desktop, which includes qemu-based binfmt_misc binaries and so silently executes linux/amd64 binaries.

@briandealwis briandealwis merged commit 84e9fcd into GoogleContainerTools:duct-tape May 27, 2021
@briandealwis briandealwis deleted the ccij721 branch May 27, 2021 15:15
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.

Debugging go-hello-world not working in goland/IntelliJ - (delve container missing - I suspekt)
2 participants