-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Published Docker image version 1.3.6 cannot run curl #32450
Comments
Thanks for this report. Do you also experience this issue in the |
I do not; that version works fine. |
Curl version does not match with libcurl.
So you have the versions that are in agreement
And test:
Two solutions are possible: rebuild the image, or modify the Dockerfile as follows:
|
FYI this issue arose on hashicorp/terraform:1.3.3 sometime between 4/9 and 4/26 of this year, when it started serving curl 8.0.1-r0 but libcurl 7.88.1. On 4/9 it was still serving curl 7.83.1-r6.
When this started happening, curl would output null regardless of the destination; only Moving to hashicorp/terraform:1.4.5 resolved the issue for us, though fair warning it still has a mismatch, just not one that breaks curl's basic functionality:
|
Terraform Version
Terraform Configuration Files
N/A
Debug Output
The warning is important. Compared to say 1.3.5:
Expected Behavior
Adding curl and using it in the terraform 1.3.6 image should work (e.g. to add tflint)
Actual Behavior
curl fails, in an obscure way.
Steps to Reproduce
Additional Context
Probably just needs a rebuild of 1.3.6 from the upstream alpine 3.17 so that the libcurl (that gets installed by https://github.com/hashicorp/terraform/blob/main/Dockerfile#L13) is up to date with what apk will later add.
References
No response
The text was updated successfully, but these errors were encountered: