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 crashes due to old Alpine and Go version #1074

Open
taitruong opened this issue Oct 11, 2024 · 1 comment
Open

Docker crashes due to old Alpine and Go version #1074

taitruong opened this issue Oct 11, 2024 · 1 comment

Comments

@taitruong
Copy link

FROM golang:1.22-alpine AS go-builder

As noted by @Reecepbcups the problem is old version being used.

My logs when it gets crashed:

debug-juno.log

@taitruong
Copy link
Author

taitruong commented Oct 14, 2024

Found this issue: CosmWasm/wasmvm#523

So should use Alpine 3.18 like here: https://github.com/CosmWasm/wasmd/blob/v0.53.0/Dockerfile

...
FROM golang:1.22-alpine3.18 AS go-builder
...
FROM alpine:3.18

COPY --from=go-builder /code/build/wasmd /usr/bin/wasmd
...

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

1 participant