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

Dockerfile template: install CA certificates for "go install" to work #15

Merged
merged 1 commit into from
Jun 20, 2023
Merged

Dockerfile template: install CA certificates for "go install" to work #15

merged 1 commit into from
Jun 20, 2023

Conversation

edigaryev
Copy link
Contributor

@edigaryev edigaryev commented Jun 19, 2023

Problem: ubuntu:rolling image lacks X.509 certificates that are required by the "go install" to function properly. "go install" doesn't seem to use the fallback CA roots at the moment and fails, resulting in failure to generate the container image needed to deploy the service.

Solution: install ca-certificates Ubuntu package.

Resolves #13.

@edigaryev edigaryev changed the title Dockerfile template: install CA certificates for "go get" to work Dockerfile template: install CA certificates for "go install" to work Jun 19, 2023
@rgrandl rgrandl self-requested a review June 20, 2023 02:35
Copy link
Collaborator

@rgrandl rgrandl left a comment

Choose a reason for hiding this comment

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

Oh right, thanks for the fix!

@rgrandl rgrandl merged commit 03376e2 into ServiceWeaver:main Jun 20, 2023
@edigaryev edigaryev deleted the install-ca-certificates branch June 20, 2023 04:23
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.

Problem with weaver-kube deploy weaver.toml
2 participants