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

Docker build problem #425

Open
icecream154 opened this issue Oct 15, 2022 · 4 comments
Open

Docker build problem #425

icecream154 opened this issue Oct 15, 2022 · 4 comments

Comments

@icecream154
Copy link

I can compile my program on my own mac, but i cannot build the docker image. How to use the lib in a docker image?
image

@canardaaydin
Copy link

same problem

@nathan-lapinski
Copy link

Same problem as well. Compiles fine on mac, but I'm receiving the same error as above when trying to compile a binary for a different architecture:

env GOOS=linux GOARCH=386 go build

@binrebin
Copy link

binrebin commented Apr 11, 2023

remove CGO_ENABLED parameter from buils script. Bimg depends on GCC

@suntong
Copy link

suntong commented Dec 1, 2023

Hi, which Dockerfile are you guys talking about please?

I see Dockerfile doesn't have such go mod and building steps, not even in https://github.com/h2non/bimg/commits/master/Dockerfile

What I'm missing please?

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

No branches or pull requests

5 participants