小编Cra*_*aft的帖子

PHP 服务构建 Docker 失败

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

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
Run Code Online (Sandbox Code Playgroud)

docker dockerfile docker-compose

2
推荐指数
1
解决办法
2959
查看次数

标签 统计

docker ×1

docker-compose ×1

dockerfile ×1