can somone help me with that?
# help
f
can somone help me with that?
c
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
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
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
oky let me try that
thank you for immediate reply