Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Commit 46e39ee

Browse files
committed
Fix Terraform installation
1 parent f0c59b3 commit 46e39ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

images/base/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,14 +99,14 @@ RUN set -eux; \
9999
curl -L ${CODER_DOWNLOAD_URL} | tar xfz - -C /opt/coder/cli --strip-components=1; \
100100
curl -L ${GITHUB_CLI_DOWNLOAD_URL} | tar xfz - -C /opt/github/cli --strip-components=1; \
101101
curl -L ${HELM_DOWNLOAD_URL} | tar xfz - -C /opt/helm --strip-components=1; \
102-
curl -L ${TERRAFORM_DOWNLOAD_URL} | bsdtar xfz - --strip-components=1 -C /opt/hashicorp/terraform; \
102+
curl -L ${TERRAFORM_DOWNLOAD_URL} | bsdtar xfz - -C /opt/hashicorp/terraform; \
103103
curl -fsSL -o /usr/local/bin/bazel ${BAZELISK_DOWNLOAD_URL}; \
104104
curl -fsSL -o /usr/local/bin/bazel-buildifier ${BAZEL_BUILDIFIER_DOWNLOAD_URL}; \
105105
curl -fsSL -o /usr/local/bin/bazel-buildozer ${BAZEL_BUILDOZER_DOWNLOAD_URL}; \
106106
curl -fsSL -o /usr/local/bin/bazel-unused-deps ${BAZEL_UNUSED_DEPS_DOWNLOAD_URL};
107107

108108
# Let the user execute `kubectl` and `bazel` (which is just Bazelisk so we don't have to have a Java environment in this image)
109-
RUN chmod +x /usr/local/bin/kubectl /usr/local/bin/bazel /usr/local/bin/bazel-*
109+
RUN chmod +x /usr/local/bin/kubectl /usr/local/bin/bazel /usr/local/bin/bazel-* /opt/hashicorp/terraform/terraform
110110

111111
# Set back to our user!
112112
USER ${USERNAME}

0 commit comments

Comments
 (0)