Service 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

尝试将libonig-dev添加到系统依赖项中,即apt-get install libonig-dev

最新更新