title: Error using Oracle Instant Client Docker image
body: <p>our app is nodejs based and needs to query Oracle DB, so we install NPM oracledb package. So our Docker image is based on <a href="https://hub.docker.com/r/asg1612/alpine-oracle-instantclient" rel="nofollow noreferrer"> oracle instant client</a>, the Docker file looks like following:</p>
  
  <pre><code>FROM frolvlad/alpine-glibc
  
  RUN apk update &amp;&amp; apk add libaio
  
  COPY instantclient_12_1.zip ./
  RUN unzip instantclient_12_1.zip
  RUN  mv instantclient_12_1/ /usr/lib/
  RUN  rm instantclient_12_1.zip
  RUN  ln /usr/lib/instantclient_12_1/libclntsh.so.12.1         /usr/lib/libclntsh.so
  RUN ln /usr/lib/instantclient_12_1/libocci.so.12.1 /usr/lib/libocci.so
  RUN ln /usr/lib/instantclient_12_1/libociei.so /usr/lib/libociei.so
  RUN ln /usr/lib/instantclient_12_1/libnnz12.so /usr/lib/libnnz12.so
  
  ENV ORACLE_BASE /usr/lib/instantclient_12_1
  ENV LD_LIBRARY_PATH /usr/lib/instantclient_12_1
  ENV TNS_ADMIN /usr/lib/instantclient_12_1
  ENV ORACLE_HOME /usr/lib/instantclient_12_1
  
  RUN apk add nodejs npm
  
  RUN mkdir -p /var/app
  WORKDIR /var/app
  ADD package.json /var/app
  COPY . /var/app
  
  CMD ["npm","start"]
  </code></pre>
  
  <p>But when our app starts using 'oracledb' NPM package, it got following error:</p>
  
  <pre><code>init() error: DPI-1047: Cannot locate a 64-bit Oracle Client library: "Error loading shared library libnsl.so.1: No such file or directory (needed by /usr/lib/libclntsh.so)". See https://oracle.github.io/odpi/doc/installation.html#linux for help Node-oracledb installation instructions: https://oracle.github.io/node-oracledb/INSTALL.html
  You must have 64-bit Oracle client libraries in LD_LIBRARY_PATH, or configured with ldconfig.
  If you do not have Oracle Database on this computer, then install the Instant Client Basic or Basic Light package from http://www.oracle.com/technetwork/topics/linuxx86-64soft-092277.html
  </code></pre>
  
  <p>So Oracle client couldn't find libnsl.so.1 even thought it should come with glibc, and I can see that it is under:
  <strong>'/usr/glibc-compat/lib'.</strong>
  Any ideas how to fix this? Thanks in Advance.</p>