-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding rpm architecture of to our maps, so 32 bit and 64 bit rpms do …
…not fail has modified files check Signed-off-by: Adam D. Cornett <[email protected]>
- Loading branch information
1 parent
b4ad7f3
commit 9234b2e
Showing
5 changed files
with
136 additions
and
8 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
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
17 changes: 17 additions & 0 deletions
17
test/containerfiles/container-fails-modifiedfiles-setuid.Dockerfile
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,17 @@ | ||
FROM registry.access.redhat.com/ubi8/ubi:latest | ||
|
||
RUN useradd preflightuser | ||
|
||
COPY --chown=preflightuser:preflightuser example-license.txt /licenses/ | ||
|
||
LABEL name="preflight test image" \ | ||
vendor="preflight test vendor" \ | ||
version="1" \ | ||
release="1" \ | ||
summary="testing the preflight tool" \ | ||
description="test the preflight tool" | ||
|
||
RUN find / -xdev -perm -4000 -exec chmod ug-s {} + | ||
|
||
USER preflightuser | ||
|
17 changes: 17 additions & 0 deletions
17
test/containerfiles/container-passes-multiple-arch-rpm.Dockerfile
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,17 @@ | ||
FROM registry.access.redhat.com/ubi8/ubi:8.7-1112 | ||
|
||
RUN useradd preflightuser | ||
|
||
COPY --chown=preflightuser:preflightuser example-license.txt /licenses/ | ||
|
||
LABEL name="preflight test image container-policy" \ | ||
vendor="preflight test vendor" \ | ||
version="1" \ | ||
release="1" \ | ||
summary="testing the preflight tool" \ | ||
description="test the preflight tool" | ||
|
||
RUN dnf update glibc -y && dnf install glibc.i686 -y | ||
|
||
USER preflightuser | ||
|