Skip to content

Commit

Permalink
Added maintainer and volume to share batch folder
Browse files Browse the repository at this point in the history
  • Loading branch information
carloscasalar committed Oct 23, 2015
1 parent a5c1a67 commit 53b3c35
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
FROM sath89/oracle-xe-11g:latest

MAINTAINER Carlos Castillo Alarcón

RUN mkdir /u01/scripts
COPY template.schema.sql /u01/scripts/template.schema.sql
COPY batch /u01/scripts/batch
RUN ls -1 -Q /u01/scripts/batch/*.sql |sed 's/\(.\)/@@&/' > /u01/scripts/batch.sql
RUN echo "exit;" >> /u01/scripts/batch.sql && echo "" >> /u01/scripts/batch.sql
VOLUME ["/u01/scripts/batch"]

COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh

0 comments on commit 53b3c35

Please sign in to comment.