Update CS documentation to use Ruby when downloading AWS CLI

parent 4ab1ad04
...@@ -145,7 +145,7 @@ For example, to scan an image from AWS Elastic Container Registry: ...@@ -145,7 +145,7 @@ For example, to scan an image from AWS Elastic Container Registry:
```yaml ```yaml
container_scanning: container_scanning:
before_script: before_script:
- curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" --output "awscliv2.zip" - ruby -r open-uri -e "IO.copy_stream(URI.open('https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip'), 'awscliv2.zip')"
- unzip awscliv2.zip - unzip awscliv2.zip
- ./aws/install - ./aws/install
- aws --version - aws --version
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment