2

I try to build docker and I have this error

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
2
  • 3
    Better to share your Dockerfile Commented Mar 25, 2020 at 15:53
  • you can see it in bottom Commented Mar 25, 2020 at 16:18

1 Answer 1

5

Try adding libonig-dev to your system dependencies, ie apt-get install libonig-dev

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.