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

Switch base docker images from alpine to ubuntu:20.04 #346

Merged
merged 1 commit into from
Jan 4, 2023

Conversation

jkneubuh
Copy link
Contributor

@jkneubuh jkneubuh commented Jan 3, 2023

Signed-off-by: Josh Kneubuhl jkneubuh@us.ibm.com

Type of change

  • New feature

Description

Builds the CA docker image as a multi-stage build, FROM ubuntu:20.04.

With this PR, the base image used to build the CA is now extended from ubuntu. This resolves several issues related to the golang-alpine base image, which frequently threw SIGSEGV errors when running or linking against the musl libc runtime. The fabric binaries generated by this build are dynamically linked against the ubuntu / GCC libc, using CGO for the sqlite runtime.

Additional details

Related issues

@jkneubuh jkneubuh requested a review from a team as a code owner January 3, 2023 18:08
@jkneubuh jkneubuh marked this pull request as draft January 4, 2023 14:01
@jkneubuh
Copy link
Contributor Author

jkneubuh commented Jan 4, 2023

The new Dockerfile ENTRYPOINT and CMD are not compatible with the test network.

Signed-off-by: Josh Kneubuhl <jkneubuh@us.ibm.com>
@jkneubuh jkneubuh marked this pull request as ready for review January 4, 2023 14:09
@denyeart denyeart merged commit c496231 into hyperledger:main Jan 4, 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.

2 participants