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 certificate error in Docker image. #22

Merged
merged 1 commit into from
Jul 29, 2018

Conversation

geowa4
Copy link
Contributor

@geowa4 geowa4 commented Jul 29, 2018

When running list instances, I would receive an error Post https://ssm.us-west-2.amazonaws.com/: x509: failed to load system roots and no roots provided. Adding ca-certificates into the image resolves this issue.

I also reordered the directives for the final image to reuse layers. The layers
are minimal so you won't notice, but it's a good habit.

When running `list instances`, I would receive an error `Post
https://ssm.us-west-2.amazonaws.com/: x509: failed to load system roots and no
roots provided`. Adding `ca-certificates` into the image resolves this issue.

I also reordered the directives for the final image to reuse layers. The layers
are minimal so you won't notice, but it's a good habit.
@itsdalmo
Copy link
Owner

Thanks for fixing!

@itsdalmo itsdalmo merged commit b874066 into itsdalmo:master Jul 29, 2018
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