Skip to content

fix: docker terratest#577

Open
Carus11 wants to merge 8 commits into
sassoftware:mainfrom
Carus11:fix_docker_terratest
Open

fix: docker terratest#577
Carus11 wants to merge 8 commits into
sassoftware:mainfrom
Carus11:fix_docker_terratest

Conversation

@Carus11

@Carus11 Carus11 commented Feb 23, 2026

Copy link
Copy Markdown
Contributor

Cleaned up the Dockerfile to stop the Azure CLI installation from failing.

What's changed:
Switched from the curl | bash script to the official repo.
Added specific cleanup commands for apt to keep the image size down and pinned the base image to bookworm for stability.
Bumped the base image version to golang 1.26 to match the @latest version of terratest, but then pinned that version. This I think was causing the error as the latest version of terratest was updated and the minimum golang version was bumped to 1.26.

Install ca-certificates bundle for the azure cli installation

Signed-off-by: Carus Kyle <caruskyle@gmail.com>
Signed-off-by: Carus Kyle <caruskyle@gmail.com>
Signed-off-by: Carus Kyle <caruskyle@gmail.com>
Signed-off-by: Carus Kyle <caruskyle@gmail.com>
Signed-off-by: Carus Kyle <caruskyle@gmail.com>
@Carus11

Carus11 commented Feb 27, 2026

Copy link
Copy Markdown
Contributor Author

Ah I see someone else fixed the terratest image. Still I'll leave this one up as an alternative to curl | bash, pin the terratest log parser, remove apt cache, and perform these in steps that should be more cache layer friendly.

@github-actions

Copy link
Copy Markdown

This PR is stale because it has been open 30 days with no activity.

@github-actions github-actions Bot added the stale Open for 30 days with no activity label Mar 30, 2026
@github-actions github-actions Bot added bug Something isn't working and removed stale Open for 30 days with no activity labels Apr 15, 2026
@github-actions

Copy link
Copy Markdown

This PR is stale because it has been open 30 days with no activity.

@github-actions github-actions Bot added the stale Open for 30 days with no activity label Jun 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working stale Open for 30 days with no activity

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant