Skip to content

Commit

Permalink
Fix execution of Oracle tests on Node 11 (#2920)
Browse files Browse the repository at this point in the history
  • Loading branch information
kibertoad authored and elhigu committed Nov 21, 2018
1 parent 1eac063 commit 3d636b3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/oracle-tests-Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ RUN curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.s
RUN . $HOME/.nvm/nvm.sh && nvm install 6
RUN . $HOME/.nvm/nvm.sh && nvm install 8
RUN . $HOME/.nvm/nvm.sh && nvm install 10
RUN . $HOME/.nvm/nvm.sh && nvm install 11

RUN echo 'module.exports = {\
oracledb: {\
Expand All @@ -39,7 +40,7 @@ RUN echo 'module.exports = {\
}' > /oracle-config.js

ENV ORACLE_HOME /u01/app/oracle/product/11.2.0/xe
ENV ORACLE_SID XE
ENV ORACLE_SID XE
ENV OCI_LIB_DIR /u01/app/oracle/product/11.2.0/xe/lib
ENV LD_LIBRARY_PATH /u01/app/oracle/product/11.2.0/xe/lib
ENV KNEX_TEST /oracle-config.js
Expand All @@ -55,4 +56,4 @@ CMD /usr/sbin/startup.sh && \
npm install && \
npm install oracledb && \
npm run build && \
npm run plaintest
npm run plaintest

0 comments on commit 3d636b3

Please sign in to comment.