mirror of
https://github.com/tofuutils/pre-commit-opentofu.git
synced 2025-10-15 17:38:54 +02:00
fix: Updates all dependencies used in Dockerfile and fix Docker image (#507)
* Docker doesn't provide possibilities for avoiding trash There is no possibility to exclude part of the "pre-installed" files from COPY steps like https://github.com/moby/buildkit/issues/2853 And copy-paste mostly all `site-packages` without it is not worth it
This commit is contained in:
parent
7d501b1bf9
commit
dc177fe29e
3 changed files with 13 additions and 11 deletions
|
|
@ -43,7 +43,7 @@ commandTests:
|
|||
- name: "tflint"
|
||||
command: "tflint"
|
||||
args: [ "--version" ]
|
||||
expectedOutput: [ "TFLint version ([0-9]+\\.){2}[0-9]+\\n$" ]
|
||||
expectedOutput: [ "TFLint version ([0-9]+\\.){2}[0-9]+\\n" ]
|
||||
|
||||
- name: "tfsec"
|
||||
command: "tfsec"
|
||||
|
|
|
|||
6
.github/.dive-ci.yaml
vendored
6
.github/.dive-ci.yaml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue