Skip to content

Commit ba2effa

Browse files
authored
Update Dockerfile
1 parent 535fd82 commit ba2effa

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/Dockerfile

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

0 commit comments

Comments
 (0)