Created
May 17, 2018 21:32
-
-
Save alanhoyle/526e722e53347224406186b6c38aff8a to your computer and use it in GitHub Desktop.
asdf]asdfasdfasdfa
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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