There was an error while loading. Please reload this page.
2 parents ea9033a + ff82e54 commit 00975a8Copy full SHA for 00975a8
Dockerfile
@@ -19,9 +19,9 @@ RUN mv /initXETemp.ora /u01/app/oracle/product/11.2.0/xe/config/scripts
19
20
RUN printf 8080\\n1521\\noracle\\noracle\\ny\\n | /etc/init.d/oracle-xe configure
21
22
-RUN echo 'export ORACLE_HOME=/u01/app/oracle/product/11.2.0/xe' >> /etc/bash.bashrc
23
-RUN echo 'export PATH=$ORACLE_HOME/bin:$PATH' >> /etc/bash.bashrc
24
-RUN echo 'export ORACLE_SID=XE' >> /etc/bash.bashrc
+ENV ORACLE_HOME /u01/app/oracle/product/11.2.0/xe
+ENV PATH /u01/app/oracle/product/11.2.0/xe/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
+ENV ORACLE_SID XE
25
26
EXPOSE 22
27
EXPOSE 1521
0 commit comments