Title
#help
s

sahaja

10/28/2022, 3:07 PM
can somone help me with that?
Tim (Infracost)

Tim (Infracost)

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.
tar xzf infracost-linux-amd64.tar.gz -C /tmp
mv /tmp/infracost-linux-amd64 /usr/local/bin/infracost
3:19 PM
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.
s

sahaja

10/28/2022, 3:37 PM
but thats a docker image,
3:38 PM
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
Tim (Infracost)

Tim (Infracost)

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.
s

sahaja

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