File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,8 +19,8 @@ RUN apk add --no-cache \
1919 && rm -rf /var/cache/apk/*
2020
2121# Install Trivy (vulnerability scanner for containers)
22- RUN wget -O /usr/local/bin/trivy https://github.com/aquasecurity/trivy/releases/latest/download/trivy_linux_64bit \
23- && chmod +x /usr/local/bin/trivy
22+ # RUN wget -O /usr/local/bin/trivy https://github.com/aquasecurity/trivy/releases/latest/download/trivy_linux_64bit \
23+ # && chmod +x /usr/local/bin/trivy
2424
2525# Install Kube-Bench (Kubernetes security benchmark tool)
2626RUN git clone https://github.com/aquasecurity/kube-bench.git /opt/kube-bench \
@@ -51,7 +51,7 @@ RUN apk add --no-cache \
5151 && rm -rf /var/cache/apk/*
5252
5353# Copy installed tools from the builder stage
54- COPY --from=builder /usr/local/bin/trivy /usr/local/bin/
54+ # COPY --from=builder /usr/local/bin/trivy /usr/local/bin/
5555COPY --from=builder /usr/local/bin/kube-bench /usr/local/bin/
5656COPY --from=builder /usr/local/bin/kube-linter /usr/local/bin/
5757COPY --from=builder /usr/local/bin/checkov /usr/local/bin/
You can’t perform that action at this time.
0 commit comments