Samuel Than
11/26/2024, 9:56 PMStep 20/24 : RUN apt-get update && apt-get install -y -u --allow-downgrades terraform-1="${TF_VERSION}-*" && update-alternatives --set terraform /usr/share/terraform/1/bin/terraform
---> Running in ce0ba58df71b
Hit:1 <http://deb.debian.org/debian> bookworm InRelease
Hit:2 <http://deb.debian.org/debian> bookworm-updates InRelease
Hit:3 <http://deb.debian.org/debian-security> bookworm-security InRelease
Get:4 <https://dl.cloudsmith.io/public/cloudposse/packages/deb/debian> bookworm InRelease [4979 B]
Hit:5 <https://packages.cloud.google.com/apt> cloud-sdk InRelease
Hit:6 <https://packages.opentofu.org/opentofu/tofu/any> any InRelease
Fetched 4979 B in 2s (3107 B/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
Package terraform-1 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Version '1.9.8-*' for 'terraform-1' was not found
The command '/bin/sh -c apt-get update && apt-get install -y -u --allow-downgrades terraform-1="${TF_VERSION}-*" && update-alternatives --set terraform /usr/share/terraform/1/bin/terraform' returned a non-zero code: 100
make[1]: *** [docker/build] Error 100
make: *** [build] Error 2Jeremy G (Cloud Posse)
11/26/2024, 9:59 PMARG TF_VERSION=1.9.8
to
ARG TF_VERSION=1.5.7
or remove the Terraform installation and switch to OpenTofuJeremy G (Cloud Posse)
11/26/2024, 10:01 PMSamuel Than
11/26/2024, 10:55 PMAndriy Knysh (Cloud Posse)
11/26/2024, 11:03 PMErik Osterman (Cloud Posse)
11/27/2024, 5:53 PMErik Osterman (Cloud Posse)
11/27/2024, 5:53 PMErik Osterman (Cloud Posse)
11/27/2024, 5:53 PM