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

Fix broken make generate, which requires CGO #961

Merged

Conversation

julianKatz
Copy link
Contributor

@julianKatz julianKatz commented Nov 12, 2020

The call to make generate requires CGO support inside the docker
image. The golang:1.15-alpine image does not include this support, and
this change adds a RUN command that installs the necessary libraries.

Signed-off-by: juliankatz juliankatz@google.com

The call to `make generate` requires CGO support inside the docker
image.  The golang:1.15-alpine image does not include this support, and
this CL adds a RUN command that installs the necessary libraries.

Signed-off-by: juliankatz <juliankatz@google.com>
Copy link
Contributor

@maxsmythe maxsmythe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sozercan
Copy link
Member

We can revert back to non-alpine image if that works better. If so, we should move our builder image to non-alpine too to align

Copy link
Member

@sozercan sozercan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@maxsmythe maxsmythe merged commit b1f5535 into open-policy-agent:master Nov 12, 2020
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.

3 participants