Skip to content

Commit

Permalink
update inventory-go build (oracle#425)
Browse files Browse the repository at this point in the history
libnsl has been updated and we need to update our symlink
  • Loading branch information
markxnelson authored Jun 4, 2022
1 parent 5aaa5e1 commit b1bd364
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions grabdish/inventory-go/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ RUN wget https://download.oracle.com/otn_software/linux/instantclient/193000/ins

RUN cd /lib
RUN ln -s /lib64/* /lib
RUN ln -s libnsl.so.2 /usr/lib/libnsl.so.1
RUN ln -s libnsl.so.3 /usr/lib/libnsl.so.1
RUN ln -s /lib/libc.so.6 /usr/lib/libresolv.so.2

COPY --from=builder /go/bin/inventory-go /usr/lib/inventory-go
Expand All @@ -31,4 +31,4 @@ ENTRYPOINT ["/usr/lib/inventory-go"]
# cp -r instantclient_${release}_${update}/* /lib && \
# rm -rf instantclient-basic-linux.x64-${release}.${update}.0.0.0dbru.zip && \
# apk add libaio && \
# apk add libaio libnsl libc6-compat
# apk add libaio libnsl libc6-compat

0 comments on commit b1bd364

Please sign in to comment.