-
Notifications
You must be signed in to change notification settings - Fork 385
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create and publish Docker images (#94)
- Loading branch information
Showing
2 changed files
with
9 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
FROM alpine | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
Freezystem
Contributor
|
||
COPY stripe /bin/stripe | ||
ENTRYPOINT ["/bin/stripe"] |
1 comment
on commit 90a2f62
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😲👍
@ob-stripe I can be wrong but I think you must add
RUN apk add ca-certificates
step to allow Stripe to connect over HTTPS.I'm currently getting this error message when trying to run this container:
Error while authenticating with Stripe: Post https://api.stripe.com/v1/stripecli/sessions: x509: certificate signed by unknown authority
I have made my own Dockerfile from
stripe/stripe-cli:0.4.1
adding this package and the error is gone.