I want to add terraform
version 0.12.21
in an alpine container, but I can only add 0.11.0
using apk
. If I try to add it as the desired version I get the following error:
/ # apk upgrade terraform==0.12.21-r0
OK: 192 MiB in 66 packages
/ # apk add terraform==0.12.21-r0
ERROR: unsatisfiable constraints:
terraform-0.11.0-r0:
breaks: world[terraform=0.12.21-r0]
How do I fix this apk error?
I havent found an
apk
solution but I can just download the desired binary and replace the existing one with the following in the dockerfile: