Skip to content

Commit

Permalink
Update rule S6587: add multi-stage build exceptions (#4539)
Browse files Browse the repository at this point in the history
  • Loading branch information
GabinL21 authored Nov 26, 2024
1 parent e0f73e0 commit 2e09e1d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rules/S6587/docker/rule.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ The package index is redundant for the correct operation of the installed softwa
Storing an index also increases the size of the Docker image.
It should be reduced to speed up deployments and reduce storage and bandwidth.

=== Exceptions

In multi-stage builds, the rule only checks instructions that are part of the final image.

== How to fix it

=== Code examples
Expand Down

0 comments on commit 2e09e1d

Please sign in to comment.