我尝试构建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发布于 2020-10-21 22:40:00
尝试将libonig-dev添加到您的系统依赖项中,例如apt-get install libonig-dev
https://stackoverflow.com/questions/60852302
复制相似问题