-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Adding WebLogic Server 14.1.1.0 images
- Loading branch information
Showing
15 changed files
with
624 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Download Oracle WebLogic Server Quick Installer 14.1.1.0 | ||
# | ||
# - http://www.oracle.com/technetwork/middleware/weblogic/downloads/wls-for-dev-1703574.html | ||
# | ||
3cce95c82aafc323aec95c1175a61df7 fmw_14.1.1.0.0_wls_quick_Disk1_1of1.zip | ||
|
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Download Oracle WebLogic Server Generic Installer 14.1.1.0 | ||
# | ||
# - http://www.oracle.com/technetwork/middleware/weblogic/downloads/wls-for-dev-1703574.html | ||
# | ||
d034c08dd0caf116dc9a4a627ca23818 fmw_14.1.1.0.0_wls_Disk1_1of1.zip |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Download Oracle WebLogic Server Slim Installer 14.1.1.0 | ||
# | ||
# - http://www.oracle.com/technetwork/middleware/weblogic/downloads/wls-for-dev-1703574.html | ||
# | ||
0e54914953fc2e7e752888dfce4d7f7a fmw_14.1.1.0.0_wls_quick_slim_Disk1_1of1.zip |
106 changes: 106 additions & 0 deletions
106
OracleWebLogic/dockerfiles/14.1.1.0/Dockerfile.developer
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 |
---|---|---|
@@ -0,0 +1,106 @@ | ||
# Copyright (c) 2020 Oracle and/or its affiliates. | ||
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. | ||
# | ||
# ORACLE DOCKERFILES PROJECT | ||
# -------------------------- | ||
# This is the Dockerfile for WebLogic 14.1.1.0 Quick Install Distro | ||
# | ||
# REQUIRED FILES TO BUILD THIS IMAGE | ||
# ---------------------------------- | ||
# fmw_14.1.1.0.0_wls_quick_Disk1_1of1.zip | ||
# Download the Developer Quick installer from http://www.oracle.com/technetwork/middleware/weblogic/downloads/wls-for-dev-1703574.html | ||
# | ||
# HOW TO BUILD THIS IMAGE | ||
# ----------------------- | ||
# Put all downloaded files in the same directory as this Dockerfile | ||
# Run: | ||
# $ docker build -f Dockerfile.developer -t oracle/weblogic:14.1.1.0-developer . | ||
# | ||
# IMPORTANT | ||
# --------- | ||
# The resulting image of this Dockerfile contains a WLS Empty Domain. | ||
# | ||
# From the Oracle Docker GitHub Project | ||
# -------------------------------------- | ||
FROM oracle/jdk:11 as builder | ||
|
||
# Labels | ||
# ------ | ||
LABEL "provider"="Oracle" \ | ||
"maintainer"="Monica Riccelli <monica.riccelli@oracle.com>" \ | ||
"issues"="https://github.com/oracle/docker-images/issues" \ | ||
"port.admin.listen"="7001" \ | ||
"port.administration"="9002" | ||
|
||
# Common environment variables required for this build (do NOT change) | ||
# -------------------------------------------------------------------- | ||
ENV ORACLE_HOME=/u01/oracle \ | ||
USER_MEM_ARGS="-Djava.security.egd=file:/dev/./urandom" \ | ||
PATH=$PATH:${JAVA_HOME}/bin:/u01/oracle/oracle_common/common/bin:/u01/oracle/wlserver/common/bin | ||
|
||
# Setup filesystem and oracle user | ||
# Adjust file permissions, go to /u01 as user 'oracle' to proceed with WLS installation | ||
# ------------------------------------------------------------ | ||
RUN mkdir -p /u01 && \ | ||
chmod a+xr /u01 && \ | ||
useradd -b /u01 -d /u01/oracle -m -s /bin/bash oracle | ||
|
||
# Environment variables required for this build (do NOT change) | ||
# ------------------------------------------------------------- | ||
ENV FMW_PKG=fmw_14.1.1.0.0_wls_quick_Disk1_1of1.zip \ | ||
FMW_JAR=fmw_14.1.1.0.0_wls_quick.jar | ||
|
||
# Copy packages | ||
# ------------- | ||
COPY $FMW_PKG install.file oraInst.loc /u01/ | ||
RUN chown oracle:oracle -R /u01 | ||
|
||
# Install | ||
# ------------------------------------------------------------ | ||
USER oracle | ||
RUN cd /u01 && ${JAVA_HOME}/bin/jar xf /u01/$FMW_PKG && cd - && \ | ||
${JAVA_HOME}/bin/java -jar /u01/$FMW_JAR -silent -responseFile /u01/install.file -invPtrLoc /u01/oraInst.loc -jreLoc $JAVA_HOME -ignoreSysPrereqs -force -novalidation ORACLE_HOME=$ORACLE_HOME && \ | ||
rm /u01/$FMW_JAR /u01/$FMW_PKG /u01/install.file && \ | ||
rm -rf /u01/oracle/cfgtoollogs | ||
|
||
# Final image stage | ||
FROM oracle/jdk:11 | ||
|
||
ENV ORACLE_HOME=/u01/oracle \ | ||
USER_MEM_ARGS="-Djava.security.egd=file:/dev/./urandom" \ | ||
SCRIPT_FILE=/u01/oracle/createAndStartEmptyDomain.sh \ | ||
PATH=$PATH:${JAVA_HOME}/bin:/u01/oracle/oracle_common/common/bin:/u01/oracle/wlserver/common/bin | ||
|
||
# Domain and Server environment variables | ||
# ------------------------------------------------------------ | ||
ENV DOMAIN_NAME="${DOMAIN_NAME:-base_domain}" \ | ||
ADMIN_LISTEN_PORT="${ADMIN_LISTEN_PORT:-7001}" \ | ||
ADMIN_NAME="${ADMIN_NAME:-AdminServer}" \ | ||
DEBUG_FLAG=true \ | ||
PRODUCTION_MODE=dev \ | ||
ADMINISTRATION_PORT_ENABLED="${ADMINISTRATION_PORT_ENABLED:-true}" \ | ||
ADMINISTRATION_PORT="${ADMINISTRATION_PORT:-9002}" | ||
|
||
# Setup filesystem and oracle user | ||
# Adjust file permissions, go to /u01 as user 'oracle' to proceed with WLS installation | ||
# ------------------------------------------------------------ | ||
RUN mkdir -p /u01 && \ | ||
chmod a+xr /u01 && \ | ||
useradd -b /u01 -d /u01/oracle -m -s /bin/bash oracle && \ | ||
chown oracle:oracle /u01 | ||
|
||
COPY --from=builder --chown=oracle:oracle /u01 /u01 | ||
|
||
# Copy scripts | ||
#------------- | ||
COPY container-scripts/createAndStartEmptyDomain.sh container-scripts/create-wls-domain.py /u01/oracle/ | ||
|
||
RUN chmod +xr $SCRIPT_FILE && \ | ||
chown oracle:oracle $SCRIPT_FILE /u01/oracle/create-wls-domain.py | ||
|
||
USER oracle | ||
|
||
WORKDIR ${ORACLE_HOME} | ||
|
||
# Define default command to start script. | ||
CMD ["/u01/oracle/createAndStartEmptyDomain.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
# Copyright (c) 2020 Oracle and/or its affiliates. | ||
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. | ||
# | ||
# ORACLE DOCKERFILES PROJECT | ||
# -------------------------- | ||
# This is the Dockerfile for Oracle WebLogic Server 14.1.1.0 Generic Distro | ||
# | ||
# REQUIRED FILES TO BUILD THIS IMAGE | ||
# ---------------------------------- | ||
# fmw_14.1.1.0.0_wls_Disk1_1of1.zip | ||
# Download the Generic installer from http://www.oracle.com/technetwork/middleware/weblogic/downloads/wls-for-dev-1703574.html | ||
# | ||
# HOW TO BUILD THIS IMAGE | ||
# ----------------------- | ||
# Put all downloaded files in the same directory as this Dockerfile | ||
# Run: | ||
# $ docker build -f Dockerfile.generic -t oracle/weblogic:14.1.1.0-generic . | ||
# | ||
# IMPORTANT | ||
# --------- | ||
# The resulting image of this Dockerfile contains a WLS Empty Domain. | ||
# | ||
# From the Oracle Docker GitHub Project | ||
# -------------------------------------- | ||
FROM oracle/jdk:11 as builder | ||
|
||
# Labels | ||
# ------ | ||
LABEL "provider"="Oracle" \ | ||
"maintainer"="Monica Riccelli <monica.riccelli@oracle.com>" \ | ||
"issues"="https://github.com/oracle/docker-images/issues" \ | ||
"port.admin.listen"="7001" \ | ||
"port.administration"="9002" | ||
|
||
|
||
# Common environment variables required for this build (do NOT change) | ||
# -------------------------------------------------------------------- | ||
ENV ORACLE_HOME=/u01/oracle \ | ||
USER_MEM_ARGS="-Djava.security.egd=file:/dev/./urandom" \ | ||
PATH=$PATH:${JAVA_HOME}/bin:/u01/oracle/oracle_common/common/bin:/u01/oracle/wlserver/common/bin | ||
|
||
# Setup filesystem and oracle user | ||
# Adjust file permissions, go to /u01 as user 'oracle' to proceed with WLS installation | ||
# ------------------------------------------------------------ | ||
RUN mkdir -p /u01 && \ | ||
chmod a+xr /u01 && \ | ||
useradd -b /u01 -d /u01/oracle -m -s /bin/bash oracle | ||
|
||
# Environment variables required for this build (do NOT change) | ||
# ------------------------------------------------------------- | ||
ENV FMW_PKG=fmw_14.1.1.0.0_wls_Disk1_1of1.zip \ | ||
FMW_JAR=fmw_14.1.1.0.0_wls.jar | ||
|
||
# Copy packages | ||
# ------------- | ||
COPY $FMW_PKG install.file oraInst.loc /u01/ | ||
RUN chown oracle:oracle -R /u01 | ||
|
||
# Install | ||
# ------------------------------------------------------------ | ||
USER oracle | ||
|
||
RUN cd /u01 && ${JAVA_HOME}/bin/jar xf /u01/$FMW_PKG && cd - && \ | ||
${JAVA_HOME}/bin/java -jar /u01/$FMW_JAR -silent -responseFile /u01/install.file -invPtrLoc /u01/oraInst.loc -jreLoc $JAVA_HOME -ignoreSysPrereqs -force -novalidation ORACLE_HOME=$ORACLE_HOME INSTALL_TYPE="WebLogic Server" && \ | ||
rm /u01/$FMW_JAR /u01/$FMW_PKG /u01/install.file && \ | ||
rm -rf /u01/oracle/cfgtoollogs | ||
|
||
# Final image stage | ||
FROM oracle/jdk:11 | ||
|
||
ENV ORACLE_HOME=/u01/oracle \ | ||
USER_MEM_ARGS="-Djava.security.egd=file:/dev/./urandom" \ | ||
SCRIPT_FILE=/u01/oracle/createAndStartEmptyDomain.sh \ | ||
PATH=$PATH:${JAVA_HOME}/bin:/u01/oracle/oracle_common/common/bin:/u01/oracle/wlserver/common/bin | ||
|
||
# Domain and Server environment variables | ||
# ------------------------------------------------------------ | ||
ENV DOMAIN_NAME="${DOMAIN_NAME:-base_domain}" \ | ||
ADMIN_LISTEN_PORT="${ADMIN_LISTEN_PORT:-7001}" \ | ||
ADMIN_NAME="${ADMIN_NAME:-AdminServer}" \ | ||
ADMINISTRATION_PORT_ENABLED="${ADMINISTRATION_PORT_ENABLED:-true}" \ | ||
ADMINISTRATION_PORT="${ADMINISTRATION_PORT:-9002}" | ||
|
||
# Setup filesystem and oracle user | ||
# Adjust file permissions, go to /u01 as user 'oracle' to proceed with WLS installation | ||
# ------------------------------------------------------------ | ||
RUN mkdir -p /u01 && \ | ||
chmod a+xr /u01 && \ | ||
useradd -b /u01 -d /u01/oracle -m -s /bin/bash oracle && \ | ||
chown oracle:oracle /u01 | ||
|
||
COPY --from=builder --chown=oracle:oracle /u01 /u01 | ||
|
||
# Copy scripts | ||
#------------- | ||
COPY container-scripts/createAndStartEmptyDomain.sh container-scripts/create-wls-domain.py /u01/oracle/ | ||
|
||
RUN chmod +xr $SCRIPT_FILE && \ | ||
chown oracle:oracle $SCRIPT_FILE /u01/oracle/create-wls-domain.py | ||
|
||
USER oracle | ||
|
||
WORKDIR ${ORACLE_HOME} | ||
|
||
# Define default command to start script. | ||
CMD ["/u01/oracle/createAndStartEmptyDomain.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,108 @@ | ||
# Copyright (c) 2020 Oracle and/or its affiliates. | ||
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. | ||
# | ||
# ORACLE DOCKERFILES PROJECT | ||
# -------------------------- | ||
# This is the Dockerfile for Oracle WebLogic Server 14.1.1.0 Slim Distro | ||
# | ||
# REQUIRED FILES TO BUILD THIS IMAGE | ||
# ---------------------------------- | ||
# fmw_14.1.1.0.0_wls_quick_slim_Disk1_1of1.zip | ||
# Download the Slim installer from http://www.oracle.com/technetwork/middleware/weblogic/downloads/wls-for-dev-1703574.html | ||
# | ||
# HOW TO BUILD THIS IMAGE | ||
# ----------------------- | ||
# Put all downloaded files in the same directory as this Dockerfile | ||
# Run: | ||
# $ docker build -f Dockerfile.slim -t oracle/weblogic:14.1.1.0-slim . | ||
# | ||
# IMPORTANT | ||
# --------- | ||
# The resulting image of this Dockerfile contains a WLS Empty Domain. | ||
# | ||
# From the Oracle Docker GitHub Project | ||
# ---------------------------------------- | ||
FROM oracle/jdk:11 as builder | ||
|
||
# Labels | ||
# ------ | ||
LABEL provider="Oracle" \ | ||
maintainer="Monica Riccelli <monica.riccelli@oracle.com>" \ | ||
issues="https://github.com/oracle/docker-images/issues" \ | ||
"port.admin.listen"="7001" \ | ||
"port.administration"="9002" | ||
|
||
|
||
# Common environment variables required for this build (do NOT change) | ||
# -------------------------------------------------------------------- | ||
ENV ORACLE_HOME=/u01/oracle \ | ||
USER_MEM_ARGS="-Djava.security.egd=file:/dev/./urandom" \ | ||
PATH=$PATH:${JAVA_HOME}/bin:/u01/oracle/oracle_common/common/bin:/u01/oracle/wlserver/common/bin | ||
|
||
# Setup filesystem and oracle user | ||
# Adjust file permissions, go to /u01 as user 'oracle' to proceed with WLS installation | ||
# ------------------------------------------------------------ | ||
RUN mkdir -p /u01 && \ | ||
chmod a+xr /u01 && \ | ||
useradd -b /u01 -d /u01/oracle -m -s /bin/bash oracle | ||
|
||
# Environment variables required for this build (do NOT change) | ||
# ------------------------------------------------------------- | ||
ENV FMW_PKG=fmw_14.1.1.0.0_wls_quick_slim_Disk1_1of1.zip \ | ||
FMW_JAR=fmw_14.1.1.0.0_wls_quick_slim.jar | ||
|
||
# Copy packages | ||
# ------------- | ||
COPY $FMW_PKG install.file oraInst.loc /u01/ | ||
RUN chown oracle:oracle -R /u01 | ||
|
||
# Install | ||
# ------------------------------------------------------------ | ||
USER oracle | ||
|
||
RUN cd /u01 && ${JAVA_HOME}/bin/jar xf /u01/$FMW_PKG && cd - && \ | ||
${JAVA_HOME}/bin/java -jar /u01/$FMW_JAR -silent -responseFile /u01/install.file -invPtrLoc /u01/oraInst.loc -jreLoc $JAVA_HOME -ignoreSysPrereqs -force -novalidation ORACLE_HOME=$ORACLE_HOME && \ | ||
rm /u01/$FMW_JAR /u01/$FMW_PKG /u01/install.file && \ | ||
rm -rf /u01/oracle/cfgtoollogs | ||
|
||
# Final image stage | ||
FROM oracle/jdk:11 | ||
|
||
ENV ORACLE_HOME=/u01/oracle \ | ||
USER_MEM_ARGS="-Djava.security.egd=file:/dev/./urandom" \ | ||
SCRIPT_FILE=/u01/oracle/createAndStartEmptyDomain.sh \ | ||
PATH=$PATH:${JAVA_HOME}/bin:/u01/oracle/oracle_common/common/bin:/u01/oracle/wlserver/common/bin | ||
|
||
# Domain and Server environment variables | ||
# ------------------------------------------------------------ | ||
ENV DOMAIN_NAME="${DOMAIN_NAME:-base_domain}" \ | ||
ADMIN_LISTEN_PORT="${ADMIN_LISTEN_PORT:-7001}" \ | ||
ADMIN_NAME="${ADMIN_NAME:-AdminServer}" \ | ||
ADMINISTRATION_PORT_ENABLED="${ADMINISTRATION_PORT_ENABLED:-true}" \ | ||
ADMINISTRATION_PORT="${ADMINISTRATION_PORT:-9002}" \ | ||
DEBUG_flag=false \ | ||
PRODUCTION_MODE=prod | ||
|
||
# Setup filesystem and oracle user | ||
# Adjust file permissions, go to /u01 as user 'oracle' to proceed with WLS installation | ||
# ------------------------------------------------------------ | ||
RUN mkdir -p /u01 && \ | ||
chmod a+xr /u01 && \ | ||
useradd -b /u01 -d /u01/oracle -m -s /bin/bash oracle && \ | ||
chown oracle:oracle /u01 | ||
|
||
COPY --from=builder --chown=oracle:oracle /u01 /u01 | ||
|
||
# Copy scripts | ||
#------------- | ||
COPY container-scripts/createAndStartEmptyDomain.sh container-scripts/create-wls-domain.py /u01/oracle/ | ||
|
||
RUN chmod +xr $SCRIPT_FILE && \ | ||
chown oracle:oracle $SCRIPT_FILE /u01/oracle/create-wls-domain.py | ||
|
||
USER oracle | ||
|
||
WORKDIR ${ORACLE_HOME} | ||
|
||
# Define default command to start script. | ||
CMD ["/u01/oracle/createAndStartEmptyDomain.sh"] |
Oops, something went wrong.