Commit 400bcbc9 authored by Nick Gaskill's avatar Nick Gaskill

Merge branch '352195-change-method-to-download-files-in-container-scanning' into 'master'

Update CS documentation to use Ruby when downloading AWS CLI

See merge request gitlab-org/gitlab!81116
parents a6b46052 825fbf97
......@@ -145,7 +145,7 @@ For example, to scan an image from AWS Elastic Container Registry:
```yaml
container_scanning:
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
- ./aws/install
- 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