Skip to content

Commit

Permalink
OracleSOASuite: Updated to add hostname to image as JRE uses 7-slim n…
Browse files Browse the repository at this point in the history
…ow (oracle#655)

* OracleSOASuite: Updated to add hostname to image as JRE uses 7-slim now
* OracleSOASuite: Clear yum cache based on review feedback
  • Loading branch information
rajlali authored and Djelibeybi committed Nov 14, 2017
1 parent 1899bf6 commit 47ed312
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
7 changes: 5 additions & 2 deletions OracleSOASuite/dockerfiles/12.2.1.2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,12 @@ ENV FMW_JAR1=fmw_12.2.1.2.0_soa.jar \
#
# Copy files and packages for install
# -----------------------------------
ADD $FMW_JAR1 $FMW_JAR2 /u01/
ADD $FMW_JAR1 $FMW_JAR2 /u01/
COPY container-scripts/* /u01/oracle/dockertools/
RUN cd /u01 && chmod 755 *.jar && chmod a+xr /u01/oracle/dockertools/*.*
RUN yum install -y hostname && \
rm -rf /var/cache/yum && \
cd /u01 && chmod 755 *.jar && \
chmod a+xr /u01/oracle/dockertools/*.*
#
USER oracle
COPY install/* /u01/
Expand Down
7 changes: 5 additions & 2 deletions OracleSOASuite/dockerfiles/12.2.1.3/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,12 @@ ENV FMW_JAR1=fmw_12.2.1.3.0_soa.jar \
#
# Copy files and packages for install
# -----------------------------------
ADD $FMW_JAR1 $FMW_JAR2 /u01/
ADD $FMW_JAR1 $FMW_JAR2 /u01/
COPY container-scripts/* /u01/oracle/dockertools/
RUN cd /u01 && chmod 755 *.jar && chmod a+xr /u01/oracle/dockertools/*.*
RUN yum install -y hostname && \
rm -rf /var/cache/yum && \
cd /u01 && chmod 755 *.jar && \
chmod a+xr /u01/oracle/dockertools/*.*
#
USER oracle
COPY install/* /u01/
Expand Down
6 changes: 3 additions & 3 deletions OracleSOASuite/setenv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ export DC_REGISTRY_SOA="localhost"
export DC_REGISTRY_DB="localhost"

# Proxy Environment
export http_proxy=""
export https_proxy=""
export no_proxy=""
#export http_proxy=""
#export https_proxy=""
#export no_proxy=""

#===============================================
exportComposeEnv() {
Expand Down

0 comments on commit 47ed312

Please sign in to comment.