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

Missing Tofu Binary in Docker Image #11

Open
Sohan-Opstree opened this issue Sep 24, 2024 · 3 comments
Open

Missing Tofu Binary in Docker Image #11

Sohan-Opstree opened this issue Sep 24, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@Sohan-Opstree
Copy link

Sohan-Opstree commented Sep 24, 2024

I encountered an issue with the tofuutils/pre-commit-opentofu Docker image. Currently, the image contains the tofu package as a ZIP file (tofu_1.6.1_linux_amd64.zip), but it does not include the extracted tofu binary, which prevents the command from running as expected.

Details:

  • Image Name: tofuutils/pre-commit-opentofu
  • ZIP File Location: /usr/bin/tofu_1.6.1_linux_amd64.zip
  • Missing Binary: The extracted tofu binary is not available in the expected path.

Secreenshot of zip tofu binary.

Screenshot from 2024-09-24 18-13-25

image

Suggested Solution:

Please consider updating the Docker image to include the extracted tofu binary instead of the ZIP file. This would allow users to run the tofu command without needing to manually extract the binary.

@Sohan-Opstree Sohan-Opstree added the bug Something isn't working label Sep 24, 2024
@kvendingoldo
Copy link
Collaborator

Thank you for reporting! I think, that it should be installed into image via tenv.

@Sohan-Opstree
Copy link
Author

Could you build a new image for Tofu so that I can use it in running tofu pre-commit hooks

@Sohan-Opstree
Copy link
Author

@kvendingoldo any update on docker image which have binary of tofu.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants