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

Update amd64 Dockerfile from alpine-based to ubuntu-based #92

Merged
merged 1 commit into from
May 9, 2023

Conversation

satota2
Copy link
Contributor

@satota2 satota2 commented May 8, 2023

From 2.5.0, Fabric switches base docker images from golang-alpine to ubuntu 20.
This patch follows this update.

Resolves #91

Copy link
Member

@jt-nti jt-nti left a comment

Choose a reason for hiding this comment

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

Hi @satota2, thank you for the pull request! There are a couple of minor issues where the architecture is hard coded to amd64 now that the Fabric images are multi architecture. I'm happy to merge the current changes as-is and update to use $(dpkg --print-architecture) for the go and yq downloads in a follow on PR, or it would be great if you're happy to update this PR. Let me know which you would prefer. Thanks again!

Dockerfile Outdated Show resolved Hide resolved
From 2.5.0, Fabric switches base docker images from golang-alpine to
ubuntu 20. This patch follows this update.

Signed-off-by: Tatsuya Sato <[email protected]>
@satota2 satota2 force-pushed the ubuntu-based-docker-image branch from f3d222b to 51e1ca6 Compare May 9, 2023 12:59
@satota2
Copy link
Contributor Author

satota2 commented May 9, 2023

@jt-nti Thank you for your reviews!
I have updated the PR to use $(dpkg --print-architecture) for the go and yq downloads based on your comments.
Please confirm the revised PR.

Copy link
Member

@jt-nti jt-nti left a comment

Choose a reason for hiding this comment

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

Thanks for updating the PR @satota2, it's building ok on my mac now.

@jt-nti jt-nti merged commit 45eff9a into hyperledger-labs:main May 9, 2023
@jt-nti jt-nti mentioned this pull request May 9, 2023
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.

Update amd64 Dockerfile from alpine-based to ubuntu-based
2 participants