Dockerfile 535 B

123456789101112131415
  1. FROM ubuntu:latest
  2. RUN apt update && \
  3. apt install -y curl wget git yq jq unzip nodejs npm && \
  4. rm -rf /var/lib/apt/lists/*
  5. RUN curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/aws-cloudformation/cloudformation-guard/main/install-guard.sh | sh && \
  6. mv /root/.guard/bin/cfn-guard /usr/local/bin/cfn-guard
  7. RUN npm i -g aws-cdk
  8. RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" && \
  9. unzip awscliv2.zip && \
  10. ./aws/install && \
  11. rm -rf ./aws awscliv2.zip