Skip to content

Improves Makefile and documents local build guide - #69

Open
Umair-khurshid wants to merge 2 commits into
lxc:mainfrom
Umair-khurshid:main
Open

Improves Makefile and documents local build guide#69
Umair-khurshid wants to merge 2 commits into
lxc:mainfrom
Umair-khurshid:main

Conversation

@Umair-khurshid

Copy link
Copy Markdown

Adds setup steps needed for local lxcri building and testing.

Covers:

  • installing system dependencies
  • installing Go-based formatting and linting tools
  • preserving Go's PATH when running make through sudo
  • installing lxcri helper binaries under the expected libexec path
  • configuring subuid/subgid mappings needed by unprivileged LXC tests

The Makefile update also replaces the old go get based tool installation with go install package@latest, which works better with modern Go.

Signed-off-by: Umair Khurshid <87898890+Umair-khurshid@users.noreply.github.com>
Added instructions for building locally and installing dependencies.

Signed-off-by: Umair Khurshid <87898890+Umair-khurshid@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant