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

Makefile: allow buliding with podman too #3

Merged

Conversation

runcom
Copy link
Contributor

@runcom runcom commented Oct 31, 2024

I have podman available on my Fedora system and I'd love to use it to build the project. This patch just makes it possible to default to docker but allows for different container runtimes too (e.g. make build CONTAINER_RUNTIME=podman)

@runcom runcom force-pushed the customize-container-runtime branch from ba403e2 to 8da697b Compare November 4, 2024 09:00
Signed-off-by: Antonio Murdaca <amurdaca@redhat.com>
@runcom runcom force-pushed the customize-container-runtime branch from 8da697b to 0207e1f Compare November 4, 2024 09:01
When using distroless tag `nonroot` we don't need to use the USER
directive in the Dockerfile.
Plus, nonroot can't write to /app or anywhere else so we should prefix
the db path with nonroot's home as well in order to avoid a sketchy
permission denied.

Signed-off-by: Antonio Murdaca <amurdaca@redhat.com>
@ben-krieger ben-krieger merged commit 9592067 into fido-device-onboard:main Nov 13, 2024
2 checks passed
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.

2 participants