https://infracost.io logo
#help
Title
# help
f

fresh-refrigerator-73809

10/28/2022, 3:07 PM
can somone help me with that?
c

crooked-daybreak-55253

10/28/2022, 3:18 PM
The binary in the tar file is named
infracost-linux-amd64
so you need to rename it and move it to a location that is in your
$PATH
. If you haven’t already, check out the “… or install it manually” instructions in step #1 of the getting started guide.
Copy code
tar xzf infracost-linux-amd64.tar.gz -C /tmp
mv /tmp/infracost-linux-amd64 /usr/local/bin/infracost
You may also want to look at https://github.com/infracost/infracost-jenkins in case that gives a better example of using it in your pipeline.
f

fresh-refrigerator-73809

10/28/2022, 3:37 PM
but thats a docker image,
is there a way we can run docker image inside kubernetes container? our jenkins have kubernetes container and we have to run teh docker inside it.. thats the reason i have opted for curl command and try that
c

crooked-daybreak-55253

10/28/2022, 3:40 PM
I don’t know enough about jenkins/kube to answer that. The curl command approach should work fine as long as you rename the binary and put it in the right spot.
f

fresh-refrigerator-73809

10/28/2022, 3:40 PM
oky let me try that
thank you for immediate reply
3 Views