Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save alanhoyle/526e722e53347224406186b6c38aff8a to your computer and use it in GitHub Desktop.
Save alanhoyle/526e722e53347224406186b6c38aff8a to your computer and use it in GitHub Desktop.
asdf]asdfasdfasdfa
FROM store/oracle/database-instantclient:12.2.0.1
#
RUN yum install -y \
gcc \
gzip \
perl \
perl-App-cpanminus \
perl-DBI \
perl-Test-Simple \
tar \
&& yum clean all
RUN ln -sv /usr/share/oracle/12.2/client64/demo/demo.mk /usr/share/oracle/12.2/client64/demo.mk
ENV ORACLE_HOME /usr/lib/oracle/12.2/client64
ENV LD_LIBRARY_PATH /usr/lib/oracle/12.2/client64/lib
ENV PATH $PATH:$HOME/bin:/usr/lib/oracle/12.2/client64/bin
RUN cpanm install \
DBD::Oracle
COPY my_script.pl /
ENTRYPOINT /my_script.pl
CMD "--help"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment