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

Allow to run builder with podman #1990

Merged
merged 1 commit into from
Dec 16, 2024
Merged

Allow to run builder with podman #1990

merged 1 commit into from
Dec 16, 2024

Conversation

erthalion
Copy link
Contributor

@erthalion erthalion commented Dec 10, 2024

Description

Currently running with podman without root is not possible, since selinux prevents mounting of the project source directory. Disable this limitation is enough.

Checklist

  • Investigated and inspected CI test results
  • Updated documentation accordingly

Testing Performed

Build Collector with builder using podman.

@erthalion erthalion requested a review from a team as a code owner December 10, 2024 15:52
Makefile Outdated
@@ -8,6 +8,23 @@ BUILD_BUILDER_IMAGE ?= false

export COLLECTOR_VERSION := $(COLLECTOR_TAG)

podman =
Copy link
Collaborator

Choose a reason for hiding this comment

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

[nit] can we capitalise this so it's distinguishable from the podman command?

Suggested change
podman =
PODMAN =

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yep, why not.

Currently running with podman without root is not possible, since
selinux prevents mounting of the project source directory. Disable this
limitation is enough.
@erthalion erthalion force-pushed the feature/podman-builder branch from 650faef to ee623c3 Compare December 10, 2024 16:49
@erthalion erthalion requested a review from Stringy December 13, 2024 10:41
@erthalion erthalion merged commit 3ff9d2d into master Dec 16, 2024
51 of 53 checks passed
@erthalion erthalion deleted the feature/podman-builder branch December 16, 2024 10:31
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