Closed za closed 3 months ago
@za Please try again with make build-docker IMAGE_NAME=k8s/kube-bench
Hi @mozillazg it works now.
➜ kube-bench git:(main) make build-docker IMAGE_NAME=k8s/kube-bench
docker build --build-arg BUILD_DATE=2024-07-24T10:22:30Z \
--build-arg VCS_REF=5a3fd1d \
--build-arg KUBEBENCH_VERSION=v0.8.0 \
--build-arg KUBECTL_VERSION=1.28.7 \
--build-arg TARGETARCH=amd64 \
-t k8s/kube-bench .
Should we update this line? https://github.com/aquasecurity/kube-bench/blob/main/docs/running.md?plain=1#L95
I am closing this issue, BTW.
Note: there's a makefile
here https://github.com/aquasecurity/kube-bench/blob/main/makefile#L14 where we define KUBECTL_VERSION
.
Should we update this line? https://github.com/aquasecurity/kube-bench/blob/main/docs/running.md?plain=1#L95
Feel free to send a pull request for this. Thanks!
Feel free to send a pull request for this. Thanks!
PR initiated @mozillazg Thanks!
Overview
Hi, I am following this step to build on EKS https://github.com/aquasecurity/kube-bench/blob/main/docs/running.md#running-cis-benchmark-in-an-eks-cluster
What happened?
It seems the
KUBECTL_VERSION
argument is empty.Any hint?