File tree 1 file changed +9
-1
lines changed
1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -158,7 +158,6 @@ RUN apt-get update --quiet && apt-get install --yes \
158
158
docker-ce-cli \
159
159
docker-compose-plugin \
160
160
packer \
161
- terraform \
162
161
fish \
163
162
unzip \
164
163
zstd \
@@ -169,6 +168,15 @@ RUN apt-get update --quiet && apt-get install --yes \
169
168
# Configure FIPS-compliant policies
170
169
update-crypto-policies --set FIPS
171
170
171
+ # NOTE: In scripts/Dockerfile.base we specifically install Terraform version 1.5.7
172
+ # as it is the last version licensed under the MPL. Installing the same version
173
+ # here for consistency.
174
+ RUN wget -O /tmp/terraform.zip "https://releases.hashicorp.com/terraform/1.5.7/terraform_1.5.7_linux_amd64.zip" && \
175
+ unzip /tmp/terraform.zip -d /usr/local/bin && \
176
+ rm -f /tmp/terraform.zip && \
177
+ chmod +x /usr/local/bin/terraform && \
178
+ terraform --version
179
+
172
180
# Install the docker buildx component.
173
181
RUN DOCKER_BUILDX_VERSION=$(curl -s "https://api.github.com/repos/docker/buildx/releases/latest" | grep '"tag_name":' | sed -E 's/.*"(v[^"]+)".*/\1 /' ) && \
174
182
mkdir -p /usr/local/lib/docker/cli-plugins && \
You can’t perform that action at this time.
0 commit comments