-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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
cmd/go: docker build failed when using alpine3.19 #67974
Comments
Similar Issues
(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.) |
Is there more output reporting the specific error beyond "returned a non-zero code: 1"? This isn't actionable without more information. |
I tried to build kubeedge/build/edge/Dockerfile and got some errors:
This seems problem in go-sqlitte3. (See mattn/go-sqlite3#1177 ) |
that sounds like a sqlite issue, not Go. |
@hatajoe I adjusted the go-sqlite3 version and the problem was resolved. Thanks very much for your help. |
@Shelley-BaoYue would you tell me what version did you adjust? |
v1.14.22, from v2.0.3 to v1.14.22 |
Go version
go version go1.21.10 linux/amd64
Output of
go env
in your module/workspace:What did you do?
I update the base image from golang:1.21.10-alpine3.18 to golang:1.21.11-alpine3.19 in my Dockerfile, it failed to execute image.
my Dockerfile as below:
What did you see happen?
When I execute docker build with this Dockerfile, it failed:
But when I use alpine3.18 or set CGO_ENABLED=0, it will succeed.
What did you expect to see?
Succeed to build the image with 1.21.11-alpine3.19
I have searched for some relevant error messages, but I have not encountered any issues related to
crypto/boring
. Could anybody please tell me what I can do to resolve this problem?The text was updated successfully, but these errors were encountered: