Skip to content

Commit ea9033a

Browse files
committed
Add ORACLE_SID and expose 8080 port
1 parent 05e0e14 commit ea9033a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,11 @@ RUN printf 8080\\n1521\\noracle\\noracle\\ny\\n | /etc/init.d/oracle-xe configur
2121

2222
RUN echo 'export ORACLE_HOME=/u01/app/oracle/product/11.2.0/xe' >> /etc/bash.bashrc
2323
RUN echo 'export PATH=$ORACLE_HOME/bin:$PATH' >> /etc/bash.bashrc
24+
RUN echo 'export ORACLE_SID=XE' >> /etc/bash.bashrc
2425

2526
EXPOSE 22
2627
EXPOSE 1521
28+
EXPOSE 8080
2729

2830
CMD sed -i -E "s/HOST = [^)]+/HOST = $HOSTNAME/g" /u01/app/oracle/product/11.2.0/xe/network/admin/listener.ora; \
2931
service oracle-xe start; \

0 commit comments

Comments
 (0)