-
Notifications
You must be signed in to change notification settings - Fork 887
fix(scripts): wget terraform directly from releases.hashicorp.com #9594
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
May I? 😀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for fixing this 👍
@@ -25,6 +22,16 @@ RUN apk add --no-cache \ | |||
-u 1000 \ | |||
-G coder \ | |||
coder | |||
# Terraform was disabled in the edge repo due to a build issue. | |||
# https://gitlab.alpinelinux.org/alpine/aports/-/commit/f3e263d94cfac02d594bef83790c280e045eba35 | |||
# Using wget for now. Note that busybox unzip doesn't support streaming. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It used to 😢
busybox unzip /tmp/terraform.zip -d / && \ | ||
mv /terraform /usr/local/bin/terraform && \ | ||
rm -f /tmp/terraform.zip && \ | ||
chmod +x /usr/local/bin/terraform && \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe it already is +x inside the zip, but caution doesn't hurt here.
No description provided.