小编Amy*_*phy的帖子

Docker 和 Laravel:配置:错误:未满足包要求(oniguruma)

谁能帮我解决这个问题。

当我尝试从 dockerfile 为 laravel 应用程序创建 docker 图像时,我收到此错误:

检查 oniguruma... 没有配置:错误:不满足包要求(oniguruma):

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

命令“/bin/sh -c docker-php-ext-install pdo mbstring”返回非零代码:1

这是我的 Dockerfile:

FROM php:7
RUN apt-get update -y && apt-get install -y openssl zip unzip git
RUN curl -sS https://getcomposer.org/installer | …
Run Code Online (Sandbox Code Playgroud)

php laravel docker dockerfile

66
推荐指数
2
解决办法
3万
查看次数

标签 统计

docker ×1

dockerfile ×1

laravel ×1

php ×1