From b9ec4d713e3518f739591e9862d62e911476507b Mon Sep 17 00:00:00 2001 From: lodenrogue Date: Sun, 21 Jun 2026 05:12:45 +0800 Subject: [PATCH 1/2] Updated README to include packages and env var --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index 05b1e4c..ea6784c 100644 --- a/README.md +++ b/README.md @@ -66,8 +66,21 @@ To compile or run Container Explorer, you need: - **Go** (version 1.25 or later is recommended) - **Linux operating system** (required for mount, export, and drift detection capabilities) +Install the following packages if they're not already present on your system: + +- libbtrfs-dev +- libgpgme-dev +- pkg-config +- build-essentials + ### Compiling from Source +Make sure the following environment variable is set as the build uses C libraries: + +```bash +export CGO_ENABLED=1 +``` + Clone the repository and build the binary: ```bash From 0f7376f233ea06f6a7ed2f0d97c409a9d82f13bf Mon Sep 17 00:00:00 2001 From: Miguel Hernandez Date: Sat, 20 Jun 2026 17:43:09 -0400 Subject: [PATCH 2/2] Fix typo in README for build-essential package --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ea6784c..be249f2 100644 --- a/README.md +++ b/README.md @@ -71,7 +71,7 @@ Install the following packages if they're not already present on your system: - libbtrfs-dev - libgpgme-dev - pkg-config -- build-essentials +- build-essential ### Compiling from Source