pkg_config_path error on building with docker
问题 When I am building an image for my Go application through docker, I am getting the following error: # pkg-config --cflags oci8 Package oci8 was not found in the pkg-config search path. Perhaps you should add the directory containing `oci8.pc' to the PKG_CONFIG_PATH environment variable No package 'oci8' found pkg-config: exit status 1 I have set the environment variable in my Dockerfile also. But still the issue persists. My Dockerfile is: *FROM golang:1.9 ARG app_env ENV APP_ENV $app_env ENV