Skip to content

Commit c7e7753

Browse files
committed
tidy up: Dockerfile
1 parent 7d38f26 commit c7e7753

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

Dockerfile

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,29 @@
1-
FROM ubuntu:14.04.1
1+
FROM ubuntu:14.04.2
22

33
MAINTAINER Maksym Bilenko <[email protected]>
44

55
# get rid of the message: "debconf: unable to initialize frontend: Dialog"
66
ENV DEBIAN_FRONTEND noninteractive
77

8-
# see issue #1
9-
ENV ORACLE_HOME /u01/app/oracle/product/11.2.0/xe
10-
ENV PATH $ORACLE_HOME/bin:$PATH
11-
ENV ORACLE_SID=XE
12-
138
ADD chkconfig /sbin/chkconfig
149
ADD oracle-install.sh /oracle-install.sh
1510
ADD init.ora /
1611
ADD initXETemp.ora /
1712

1813
# Prepare to install Oracle
19-
RUN apt-get update && apt-get install -y -q libaio1 net-tools bc wget && apt-get clean && rm -rf /tmp/* /var/lib/apt/lists/* /var/tmp/* &&\
14+
RUN apt-get update && apt-get install -y -q libaio1 net-tools bc curl && \
15+
apt-get clean && \
16+
rm -rf /tmp/* /var/lib/apt/lists/* /var/tmp/* &&\
2017
ln -s /usr/bin/awk /bin/awk &&\
2118
mkdir /var/lock/subsys &&\
2219
chmod 755 /sbin/chkconfig &&\
2320
/oracle-install.sh
2421

22+
# see issue #1
23+
ENV ORACLE_HOME /u01/app/oracle/product/11.2.0/xe
24+
ENV PATH $ORACLE_HOME/bin:$PATH
25+
ENV ORACLE_SID=XE
26+
2527
EXPOSE 1521
2628
EXPOSE 8080
2729
VOLUME ["/u01/app/oracle"]

0 commit comments

Comments
 (0)