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: change docker image version to fix build error #316

Merged
merged 3 commits into from Jan 26, 2024

Conversation

170210
Copy link
Contributor

@170210 170210 commented Jan 25, 2024

This PR fix the build error that occurs after bumping up the Go version from 1.18 to 1.20, caused by #241

Description

Without this PR, we cannot build a Docker image of Finschia.
The reason is golang:1.20-alpine is using alpine3.19, while alpine3.19 upgraded the libc version which includes the following PR: rust-lang/libc#2935
So, this PR changes the Docker image version and sets it to golang:1.20-alpine3.17.

closes: #314

Motivation and context

How has this been tested?

You can try make docker-build ARCH=arm64 or make docker-build to build docker image locally.

Screenshots (if appropriate):

Checklist:

  • I followed the contributing guidelines and code of conduct.
  • I have added a relevant changelog to CHANGELOG.md
  • I have added tests to cover my changes.
  • I have updated the documentation accordingly.

Signed-off-by: 170210 <j170210@icloud.com>
Signed-off-by: 170210 <j170210@icloud.com>
@170210 170210 self-assigned this Jan 25, 2024
@170210 170210 added the bug Something isn't working label Jan 25, 2024
@170210 170210 marked this pull request as ready for review January 25, 2024 05:18
@170210 170210 requested a review from ulbqb January 25, 2024 05:30
ulbqb
ulbqb previously approved these changes Jan 25, 2024
CHANGELOG.md Outdated Show resolved Hide resolved
Signed-off-by: 170210 <j170210@icloud.com>
@170210 170210 merged commit 08261a7 into Finschia:main Jan 26, 2024
35 checks passed
@170210 170210 deleted the fix/docker branch January 26, 2024 07:01
@zemyblue zemyblue mentioned this pull request Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot build docker image in the latest main commit
3 participants