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

[Bug]: curl missing in images #1

Closed
1 task done
MousaZeidBaker opened this issue Jun 7, 2022 · 7 comments
Closed
1 task done

[Bug]: curl missing in images #1

MousaZeidBaker opened this issue Jun 7, 2022 · 7 comments
Assignees

Comments

@MousaZeidBaker
Copy link

What happened?

curl is missing resulting in command not found error when running tfenv isntall x.x.x

Expected behavior

Being able to install terraform

How do we reproduct the bug?

docker run -it wolfsoftwareltd/tfenv-alpine -c "tfenv install 1.2.0"

Relevant log output

environment: line 4: curl: command not found
Failed to download remote versions from https://releases.hashicorp.com/terraform/
No versions matching '1.2.0' found in remote

Screeenshots

No response

Additional information

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@TGWolf
Copy link
Member

TGWolf commented Jun 7, 2022

Looks like a missing pre-req, thank you for raising this we will look to get that resolved asap. We are working on a new set of containers with a new frame work so will make sure this is added.

@TGWolf
Copy link
Member

TGWolf commented Jun 7, 2022

docker run -it wolfsoftwareltd/tfenv-alpine -c "tfenv install 1.2.0"
Installing Terraform v1.2.0
Downloading release tarball from https://releases.hashicorp.com/terraform/1.2.0/terraform_1.2.0_linux_amd64.zip
######################################################################################################################################################################################################################################################### 100.0%
Downloading SHA hash file from https://releases.hashicorp.com/terraform/1.2.0/terraform_1.2.0_SHA256SUMS
No keybase install found, skipping OpenPGP signature verification
terraform_1.2.0_linux_amd64.zip: OK
Archive: /tmp/tfenv_download.IojedB/terraform_1.2.0_linux_amd64.zip
inflating: terraform
Installation of terraform v1.2.0 successful. To make this your default version, run 'tfenv use 1.2.0'

@MousaZeidBaker
Copy link
Author

Thanks for the quick fix! Works fine now.

@TGWolf
Copy link
Member

TGWolf commented Jun 7, 2022

Excellent - glad it is all sorted.

@TGWolf TGWolf closed this as completed Jun 7, 2022
@MousaZeidBaker
Copy link
Author

FYI: I tried the other variants (debian, ubuntu etc) and they are also missing curl

@TGWolf
Copy link
Member

TGWolf commented Jun 7, 2022

I will run some updates overnight and push new builds tomorrow.

@TGWolf
Copy link
Member

TGWolf commented Jun 8, 2022

I have now updated all containers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants