Skip to content

Commit 1e0eaa7

Browse files
authored
Update Dockerfile
1 parent 367b09c commit 1e0eaa7

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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)
2525
RUN 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/
5454
COPY --from=builder /usr/local/bin/kube-bench /usr/local/bin/
5555
COPY --from=builder /usr/local/bin/kube-linter /usr/local/bin/
5656
COPY --from=builder /usr/local/bin/checkov /usr/local/bin/

0 commit comments

Comments
 (0)