-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Optimize RUN commands in Dockerfile * Update README instructions * Add circleCI config * Add workflow to enable github status check * Install goss, beautiful circleci * Fix goss tests for updated Dockerfile * Fix goss tests again * Updated Makefile commands * Last try getting CircleCI to build the correct image * Move to multi-stage build, save 340 MB * Fix the goss tests on CircleCI * Fix dive path during make test * Increase dive wasted bytes check due to /app being wrongly counted * Fix error when closing xhost on circleci
- Loading branch information
Showing
5 changed files
with
57 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
rules: | ||
# If the efficiency is measured below X%, mark as failed. | ||
# Expressed as a ratio between 0-1. | ||
lowestEfficiency: 0.95 | ||
|
||
# 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: 36MB | ||
|
||
# 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.20 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,5 +2,6 @@ | |
.circleci | ||
.gitmodules | ||
.hadolint.yaml | ||
.dive-ci | ||
.pre-commit-config.yaml | ||
Makefile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters