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