I have Java Spring web service project on EC2
I tried writing a buildspec.yml for it. However the AWS CodeBuild service is not giving successful results. In the install phase itself, it tells apt-get and yum command not found. The problem is that both yum and apt-get are not being detected. However the exemplary file in the docs is using apt-get to in the install phase. How can I make it work?
I am not able to figure it out... why does it fail for both yum and apt-get?

