Anyone know how to install dig into the codebuild v5 image on AWS?

166 Views Asked by At

So, I want to install the dig command because it's not available in the Codebuild v5 image.

I tried to do:

sudo apt-get install dnsutils

but it errors out with an exit status 100.

What's the best way to get this utility in my image with the buildspec.yml?

1

There are 1 best solutions below

0
codedev-code On

I could install dnsutils the following way:

plases:
  install:
    - sudo apt-get update
    - sudo apt-get -y install dnsutils