pre-commit-opentofu icon indicating copy to clipboard operation
pre-commit-opentofu copied to clipboard

Missing Tofu Binary in Docker Image

Open Sohan-Opstree opened this issue 5 months ago • 3 comments

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 avatar Sep 24 '24 12:09 Sohan-Opstree