Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ci): added docker security scan and a linter #496

Merged
merged 8 commits into from
Sep 7, 2021

Conversation

hutchic
Copy link
Contributor

@hutchic hutchic commented Aug 31, 2021

added hadolint with a few exceptions
added the docker snyk security scan feature with exceptions
the community is beginning to sway towards it being acceptable to do upgrades in images

alpine/Dockerfile Outdated Show resolved Hide resolved
@hutchic hutchic marked this pull request as ready for review September 1, 2021 13:37
@hutchic hutchic requested review from gszr and Tieske September 1, 2021 16:16
Copy link
Member

@gszr gszr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great one!

tests/01-image.test.sh Outdated Show resolved Hide resolved

if [[ ! -z "${SNYK_SCAN_TOKEN}" ]]; then
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

checking: is the token added to CI?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is

rhel/Dockerfile Outdated
@@ -1,9 +1,7 @@
ARG RHEL_VERSION=8
ARG RHEL_VERSION=7
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is the downgrade intended?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah I upgraded as part of the PR and that broke tests. There were no security issues in 7 so going to keep us pinned there for now

tests/01-image.test.sh Outdated Show resolved Hide resolved
@hutchic hutchic requested a review from gszr September 2, 2021 21:40
@hutchic hutchic merged commit f368fe4 into master Sep 7, 2021
@gszr gszr deleted the chore/security-scanning branch June 14, 2022 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants