From 439dd5f40342a6e6fc859631b8181c153d111cd4 Mon Sep 17 00:00:00 2001 From: Miltiadis Kallianis Date: Thu, 15 Feb 2024 09:28:30 +0100 Subject: [PATCH] docs: make sure that CGO_ENABLED='1' Signed-off-by: Miltiadis Kallianis Signed-off-by: Miltiadis Kallianis --- install.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/install.md b/install.md index 3b308f0d..5080d29b 100644 --- a/install.md +++ b/install.md @@ -122,6 +122,14 @@ Skopeo has not yet been packaged for Windows. There is an [open feature request](https://github.com/containers/skopeo/issues/715) and contributions are always welcome. +## GO ENV settings + +In order for the system libraries to get compiled during the build process make sure that ```CGO_ENABLED='1'```. + +```bash +go env -w CGO_ENABLED='1' +``` + ## Container Images