Skip to content

Commit

Permalink
Docker don't provide posibilities to avoid trash
Browse files Browse the repository at this point in the history
There is no posibility to exclude part of "pre-installed" files from
COPY step like moby/buildkit#2853
And copy-paste mostly all `site-packages` without it is not worth it
  • Loading branch information
MaxymVlasov committed Apr 21, 2023
1 parent 929826a commit 01fbdc4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/.dive-ci.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
rules:
# If the efficiency is measured below X%, mark as failed.
# Expressed as a ratio between 0-1.
lowestEfficiency: 0.99
lowestEfficiency: 0.987

# If the amount of wasted space is at least X or larger than X, mark as failed.
# Expressed in B, KB, MB, and GB.
highestWastedBytes: 12MB
highestWastedBytes: 21MB

# If the amount of wasted space makes up for X% or more of the image, mark as failed.
# Note: the base image layer is NOT included in the total image size.
# Expressed as a ratio between 0-1; fails if the threshold is met or crossed.
highestUserWastedPercent: 0.02
highestUserWastedPercent: 0.025

0 comments on commit 01fbdc4

Please sign in to comment.