forked from oracle/docker-images
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0c824d8
commit 064e658
Showing
142 changed files
with
636 additions
and
659 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
#Copyright (c) 2014-2017 Oracle and/or its affiliates. All rights reserved. | ||
#Copyright (c) 2014-2018 Oracle and/or its affiliates. All rights reserved. | ||
# | ||
#Licensed under the Universal Permissive License v 1.0 as shown at http://oss.oracle.com/licenses/upl. | ||
# | ||
# ORACLE DOCKERFILES PROJECT | ||
# -------------------------- | ||
# This is the Dockerfile for Oracle FMW Infrastructure 12.2.1.2 | ||
# | ||
# | ||
# HOW TO BUILD THIS IMAGE | ||
# ----------------------- | ||
# The Oracle FMW Infrastructure image extends the Oracle WebLogic Infrastructure 12.2.1.2 image, you must first build the Oracle WebLogic Infrastructure image. | ||
# Run: | ||
# Run: | ||
# $ docker build -f Dockerfile -t oracle/fmw-infrastructure:12.2.1.2 | ||
# | ||
# IMPORTANT | ||
# --------- | ||
# The resulting image of this Dockerfile contains a FMW Infra Base Domain. | ||
# | ||
# From | ||
# From | ||
# ------------------------- | ||
FROM oracle/serverjre:8 | ||
|
||
|
@@ -25,7 +25,7 @@ FROM oracle/serverjre:8 | |
MAINTAINER Monica Riccelli <[email protected]> | ||
|
||
|
||
# Common environment variables required for this build | ||
# Common environment variables required for this build | ||
# ---------------------------------------------------- | ||
ENV ORACLE_HOME=/u01/oracle \ | ||
SCRIPT_FILES=/u01/oracle/container-scripts/*.sh \ | ||
|
@@ -36,10 +36,10 @@ ENV ORACLE_HOME=/u01/oracle \ | |
PATH=$PATH:/usr/java/default/bin:/u01/oracle/oracle_common/common/bin:/u01/oracle/wlserver/common/bin:/u01/oracle/container-scripts | ||
|
||
|
||
#USER root | ||
#USER root | ||
# Setup subdirectory for FMW install package and container-scripts | ||
# ----------------------------------------------------------------- | ||
RUN mkdir -p /u01 && \ | ||
# ----------------------------------------------------------------- | ||
RUN mkdir -p /u01 && \ | ||
chmod a+xr /u01 && \ | ||
useradd -b /u01 -d /u01/oracle -m -s /bin/bash oracle && \ | ||
mkdir -p /u01/oracle/container-scripts | ||
|
@@ -67,7 +67,7 @@ RUN chown oracle:oracle -R /u01 && \ | |
VOLUME $VOLUME_DIR | ||
|
||
|
||
# Install | ||
# Install | ||
# ------------------------------------------------------------ | ||
USER oracle | ||
RUN cd /u01 && $JAVA_HOME/bin/jar xf /u01/$FMW_PKG && cd - && \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
OracleFMWInfrastructure/dockerfiles/12.2.1.2/container-scripts/startManagedServer.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
# | ||
# Author:[email protected] | ||
# | ||
# Copyright (c) 2014-2017 Oracle and/or its affiliates. All rights reserved. | ||
# Copyright (c) 2014-2018 Oracle and/or its affiliates. All rights reserved. | ||
# | ||
#Licensed under the Universal Permissive License v 1.0 as shown at http://oss.oracle.com/licenses/upl. | ||
# | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
#Copyright (c) 2014-2017 Oracle and/or its affiliates. All rights reserved. | ||
#Copyright (c) 2014-2018 Oracle and/or its affiliates. All rights reserved. | ||
# | ||
# Licensed under the Universal Permissive License v 1.0 as shown at http://oss.oracle.com/licenses/upl. | ||
# | ||
# ORACLE DOCKERFILES PROJECT | ||
# -------------------------- | ||
# This is the Dockerfile for Oracle FMW Infrastructure 12.2.1.3 | ||
# | ||
# | ||
# HOW TO BUILD THIS IMAGE | ||
# ----------------------- | ||
# The Oracle FMW Infrastructure image extends the Oracle WebLogic Infrastructure 12.2.1.3 image, you must first build the Oracle WebLogic Infrastructure image. | ||
# Run: | ||
# Run: | ||
# $ docker build -f Dockerfile -t oracle/fmw-infrastructure:12.2.1.3 | ||
# | ||
# IMPORTANT | ||
# --------- | ||
# The resulting image of this Dockerfile contains a FMW Infra Base Domain. | ||
# | ||
# From | ||
# From | ||
# ------------------------- | ||
FROM oracle/serverjre:8 | ||
|
||
|
@@ -25,7 +25,7 @@ FROM oracle/serverjre:8 | |
MAINTAINER Monica Riccelli <[email protected]> | ||
|
||
|
||
# Common environment variables required for this build | ||
# Common environment variables required for this build | ||
# ---------------------------------------------------- | ||
ENV ORACLE_HOME=/u01/oracle \ | ||
SCRIPT_FILE=/u01/oracle/container-scripts/* \ | ||
|
@@ -36,10 +36,10 @@ ENV ORACLE_HOME=/u01/oracle \ | |
PATH=$PATH:/usr/java/default/bin:/u01/oracle/oracle_common/common/bin:/u01/oracle/wlserver/common/bin:/u01/oracle/container-scripts | ||
|
||
|
||
#USER root | ||
#USER root | ||
# Setup subdirectory for FMW install package and container-scripts | ||
# ----------------------------------------------------------------- | ||
RUN mkdir -p /u01 && \ | ||
# ----------------------------------------------------------------- | ||
RUN mkdir -p /u01 && \ | ||
chmod a+xr /u01 && \ | ||
useradd -b /u01 -d /u01/oracle -m -s /bin/bash oracle && \ | ||
mkdir -p /u01/oracle/container-scripts | ||
|
@@ -65,9 +65,9 @@ RUN chown oracle:oracle -R /u01 && \ | |
chown -R oracle:oracle $VOLUME_DIR | ||
|
||
VOLUME $VOLUME_DIR | ||
|
||
|
||
# Install | ||
|
||
# Install | ||
# ------------------------------------------------------------ | ||
USER oracle | ||
RUN cd /u01 && $JAVA_HOME/bin/jar xf /u01/$FMW_PKG && cd - && \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
OracleFMWInfrastructure/dockerfiles/12.2.1.3/container-scripts/startManagedServer.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
# | ||
# Author:[email protected] | ||
# | ||
# Copyright (c) 2014-2017 Oracle and/or its affiliates. All rights reserved. | ||
# Copyright (c) 2014-2018 Oracle and/or its affiliates. All rights reserved. | ||
# | ||
#Licensed under the Universal Permissive License v 1.0 as shown at http://oss.oracle.com/licenses/upl. | ||
# | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
#!/bin/bash | ||
# | ||
# | ||
# Since: October, 2014 | ||
# Author: [email protected] | ||
# Description: script to build a Docker image for FMW Infrastructure | ||
# | ||
# | ||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. | ||
# | ||
# Copyright (c) 2014-2015 Oracle and/or its affiliates. All rights reserved. | ||
# | ||
# | ||
# Copyright (c) 2014-2018 Oracle and/or its affiliates. All rights reserved. | ||
# | ||
|
||
usage() { | ||
cat << EOF | ||
Usage: buildDockerImage.sh -v [version] [-s] [-c] | ||
Builds a Docker Image for Oracle FMW Infrastructure. | ||
Parameters: | ||
-v: version to build. Required. | ||
Choose one of: $(for i in $(ls -d */); do echo -n "${i%%/} "; done) | ||
|
@@ -24,7 +24,7 @@ Parameters: | |
LICENSE UPL 1.0 | ||
Copyright (c) 2017 Oracle and/or its affiliates. All rights reserved. | ||
Copyright (c) 2018 Oracle and/or its affiliates. All rights reserved. | ||
EOF | ||
exit 0 | ||
|
@@ -131,8 +131,8 @@ echo "" | |
|
||
if [ $? -eq 0 ]; then | ||
cat << EOF | ||
Fusion Middleware Infrastructure Docker Image for version $VERSION is ready to be extended: | ||
Fusion Middleware Infrastructure Docker Image for version $VERSION is ready to be extended: | ||
--> $IMAGE_NAME | ||
Build completed in $BUILD_ELAPSED seconds. | ||
|
@@ -141,4 +141,3 @@ EOF | |
else | ||
echo "FMW Infrastructure Docker Image was NOT successfully created. Check the output and correct any reported problems with the docker build operation." | ||
fi | ||
|
Oops, something went wrong.