首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Service PHP构建Docker失败

Service PHP构建Docker失败
EN

Stack Overflow用户
提问于 2020-03-25 23:45:45
回答 1查看 1.1K关注 0票数 2

我尝试构建docker,但出现以下错误

代码语言:javascript
复制
configure: error: Package requirements (oniguruma) were not met:

No package 'oniguruma' found

Consider adjusting the `PKG_CONFIG_PATH` environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables ONIG_CFLAGS
and ONIG_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
ERROR: Service 'php' failed to build: The command '/bin/sh -c docker-php-ext-install pdo pdo_mysql mysqli mbstring zip gd intl' returned a non-zero code: 1
EN

回答 1

Stack Overflow用户

发布于 2020-10-21 22:40:00

尝试将libonig-dev添加到您的系统依赖项中,例如apt-get install libonig-dev

票数 4
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/60852302

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档