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

new(image): add Falco image based on RedHat UBI #1943

Merged
merged 12 commits into from
Mar 23, 2022

Conversation

araujof
Copy link
Member

@araujof araujof commented Mar 16, 2022

What type of PR is this?

/kind feature

Any specific area of the project related to this PR?

/area build

What this PR does / why we need it:

This PR introduces a Falco image based on RedHat's UBI (Universal Base Image). The UBI has a short release cycle with a special focus on security and stability. It has a smaller trusted computing base and a narrower exploit window than most publicly-available docker images. This is particularly helpful in hardened deployments with strict vulnerability scanning policies for agent admission.

Which issue(s) this PR fixes:

NONE

Special notes for your reviewer:

Example automation with a GHA workflow is available in the forked git repository.

Does this PR introduce a user-facing change?:

new(image): add Falco image based on RedHat UBI

docker/ubi/Dockerfile Outdated Show resolved Hide resolved
docker/ubi/Dockerfile Outdated Show resolved Hide resolved
@LucaGuerra
Copy link
Contributor

As I mentioned in community call, I really like this! To add on top of what @araujof already mentioned, the image itself is also lighter than the large official one. So this means faster and easier security maintenance and lighter system footprint, sign me up :D !
The only drawback is that there are systems (especially old ones) where you can't use this image to compile the kmod or ebpf probe, in those cases you'll need to use the big one. However, the version of gcc that ships with UBI is compatible with most widely used kernels 👍 .

@araujof
Copy link
Member Author

araujof commented Mar 16, 2022

@LucaGuerra I fixed the package cache cleanup issue and set the default value you suggested for the UBI_VERSION. Thanks for your comments!

@jasondellaluce
Copy link
Contributor

/check-dco

@LucaGuerra
Copy link
Contributor

Happy now Poiana?

Copy link
Member

@leogr leogr left a comment

Choose a reason for hiding this comment

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

This is cool! 🤩

Just left two minor suggestions, otherwise LGTM!

Thank you for this contribution :)

docker/ubi/docker-entrypoint.sh Outdated Show resolved Hide resolved
docker/ubi/docker-entrypoint.sh Outdated Show resolved Hide resolved
docker/ubi/docker-entrypoint.sh Outdated Show resolved Hide resolved
araujof and others added 2 commits March 22, 2022 11:33
@leogr
Copy link
Member

leogr commented Mar 23, 2022

/milestone 0.32.0

@poiana poiana added this to the 0.32.0 milestone Mar 23, 2022
Copy link
Member

@leogr leogr left a comment

Choose a reason for hiding this comment

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

LGTM now!

@araujof
Thank you for having addressed all my concerns 👍
And thank you for this PR :)

docker/ubi/docker-entrypoint.sh Outdated Show resolved Hide resolved
docker/ubi/docker-entrypoint.sh Outdated Show resolved Hide resolved
@poiana
Copy link
Contributor

poiana commented Mar 23, 2022

LGTM label has been added.

Git tree hash: 18e2d52cb0884d078868bf7fa8788e2e011a404c

Copy link
Contributor

@jasondellaluce jasondellaluce left a comment

Choose a reason for hiding this comment

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

/approve

Thank you!!

@poiana
Copy link
Contributor

poiana commented Mar 23, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: araujof, jasondellaluce

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@poiana poiana merged commit 26a3b7a into falcosecurity:master Mar 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants