Skip to content

Commit

Permalink
Update command to build docker to run in EKS cluster (aquasecurity#1648)
Browse files Browse the repository at this point in the history
because with the previous command unable to get the argument.

Issue: aquasecurity#1647

Co-authored-by: za <[email protected]>
  • Loading branch information
2 people authored and deebhatia committed Oct 14, 2024
1 parent fbb5ec7 commit ab22d4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/running.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ aws ecr create-repository --repository-name k8s/kube-bench --image-tag-mutabilit
git clone https://github.com/aquasecurity/kube-bench.git
cd kube-bench
aws ecr get-login-password --region <AWS_REGION> | docker login --username AWS --password-stdin <AWS_ACCT_NUMBER>.dkr.ecr.<AWS_REGION>.amazonaws.com
docker build -t k8s/kube-bench .
make build-docker IMAGE_NAME=k8s/kube-bench
docker tag k8s/kube-bench:latest <AWS_ACCT_NUMBER>.dkr.ecr.<AWS_REGION>.amazonaws.com/k8s/kube-bench:latest
docker push <AWS_ACCT_NUMBER>.dkr.ecr.<AWS_REGION>.amazonaws.com/k8s/kube-bench:latest
```
Expand Down

0 comments on commit ab22d4b

Please sign in to comment.