我是 Docker 新手,正在尝试为我的项目使用 Alpine docker 映像。尝试构建项目时出现以下错误。
gopkg.in/libgit2/git2go.v22
# pkg-config --cflags libgit2
pkg-config: exec: "pkg-config": executable file not found in $PATH
我想我需要安装 libgit2 但我无法:
bash-4.3# apk add libgit2
ERROR: unsatisfiable constraints:
libgit2 (missing):
required by: world[libgit2]
谢谢你的帮助。
-dj