ARGs aren't set when running DOCKERFILE #1683
Replies: 2 comments 2 replies
-
thanks for the report. |
Beta Was this translation helpful? Give feedback.
-
Ran it again and realized the problem occurs earlier as the KubeBenchVersion ARG isn't set in the makefile. either.
Running the command from the console to get the kube-bench version returns this.
|
Beta Was this translation helpful? Give feedback.
-
hi,
I have not been able to build the kube-bench container using the instructions for "Running CIS benchmark in an EKS cluster" https://github.com/aquasecurity/kube-bench/blob/main/docs/running.md#running-cis-benchmark-in-an-eks-cluster. I have run the docker build command on Ubuntu 24.04 and OpenSUSE LEAP 15.6 and run into the same problem of the KUBECTL_VERSION ARG not being set/available. causing the wget to error.
The instructions don't mention a need to set those values and a brief look seems to suggest that the makefile run by the dockerfile should be setting those values. Just wondering if anyone is aware of a reason why the KUBECTL_VERSION arg has no value?
This is the relevant output.
Beta Was this translation helpful? Give feedback.
All reactions