Skip to content

Bind mount the directory with SSH keys #12

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

Open
wants to merge 3 commits into
base: libcontainer
Choose a base branch
from
Open

Conversation

vadorovsky
Copy link
Member

@vadorovsky vadorovsky commented Apr 14, 2025

That allows to build Rust crates with private repositories as dependencies.

Fixes #6


This change is Reviewable

@vadorovsky vadorovsky force-pushed the libcontainer branch 2 times, most recently from e6b848e to d4ff284 Compare April 15, 2025 19:33
Drop the dependency on container engines like Docker or Podman by using
youki's `libcontainer` and `oci-spec` crates to run rootless containers,
while keeping all the logic doing that in our binary.

That solves the major problem we had with Docker - file ownership in
bind mounted volumes - where new files created inside container in a
volume with source code were owned by `root` and therefore inaccessible
for a regular user calling `icedragon`.

After this change, regular container engines are still used for building
the images.

Fixes #7
Otherwise CI doesn't run on stacked PRs.
That allows to build Rust crates with private repositories as
dependencies.

Fixes #6
@vadorovsky vadorovsky force-pushed the ssh-keys branch 2 times, most recently from 6ecc3d8 to 9218921 Compare April 19, 2025 06:52
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.

1 participant