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

go needs libstdc++ #162

Open
mattmoor opened this issue Feb 8, 2018 · 3 comments
Assignees
Labels

Comments

@mattmoor
Copy link
Collaborator

@mattmoor mattmoor commented Feb 8, 2018

I'm getting increasing reports of this lib missing from folks using go_image (example).

Luckily rules_go now supports pure = "on", but we should get the base image fixed for the default case.

Assigning to @dlorenc to triage.

@james-r-smith

This comment has been minimized.

Copy link

@james-r-smith james-r-smith commented May 5, 2018

I'm using the base image and getting the same error referenced. Is this being worked on, and what is a temporary work-around on the client-side? Thanks!

@justinsb

This comment has been minimized.

Copy link

@justinsb justinsb commented Jun 25, 2018

The cc image does have libstdc++ and I was able to switch my base to distroless/cc and it "worked for me".

I'm not using the go_image task (I use container_image directly), but go_image does have a base field which might work.

Ark-kun added a commit to Ark-kun/pipelines that referenced this issue Aug 6, 2019
Due to go needing libstdc++ GoogleContainerTools/distroless#162
@donmccasland

This comment has been minimized.

Copy link
Member

@donmccasland donmccasland commented Nov 5, 2019

Okay, I need some opinions here. If I'm reading things right, by design neither base nor static should include a bunch of shared libraries. And since there is a work around for projects needing that library using distroless/cc I'm thinking we should close this won't fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants
You can’t perform that action at this time.