Skip to content

Commit

Permalink
Update repos urls
Browse files Browse the repository at this point in the history
  • Loading branch information
dnorio committed Jul 30, 2020
1 parent 29764ee commit a515fd7
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:12.16.1-alpine3.11
FROM node:10.22.0-alpine3.11

# Contains only necessary libs from oracle instant client:
# "*/libociei.so */libons.so */libnnz12.so */libclntshcore.so.12.1 */libclntsh.so.12.1"
Expand All @@ -7,12 +7,11 @@ ENV CLIENT_FILENAME instantclientlibs-linux.x64-12.1.0.1.0.tar.gz
COPY ${CLIENT_FILENAME} /usr/lib

# libaio and libnsl are necessary for oracledb
RUN echo "http://dl-cdn.alpinelinux.org/alpine/v3.8/main" > /etc/apk/repositories \
&& echo "http://dl-cdn.alpinelinux.org/alpine/latest-stable/community" >> /etc/apk/repositories \
RUN echo "https://dl-cdn.alpinelinux.org/alpine/v3.11/main" > /etc/apk/repositories \
&& echo "https://dl-cdn.alpinelinux.org/alpine/latest-stable/community" >> /etc/apk/repositories \
&& apk add --no-cache libaio libnsl git \
&& ln -s /usr/lib/libnsl.so.2 /usr/lib/libnsl.so.1 \
&& cd /usr/lib \
&& tar xf ${CLIENT_FILENAME} \
&& ln -s /usr/lib/libclntsh.so.12.1 /usr/lib/libclntsh.so \
&& rm ${CLIENT_FILENAME}

0 comments on commit a515fd7

Please sign in to comment.