Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add Tuxedo FullSet Docker file (#717)
* add Tuxedo FullSet Docker file
- Loading branch information
1 parent
4c04891
commit f73d424
Showing
14 changed files
with
772 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
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,20 @@ | ||
Copyright (c) 1996, 2018, Oracle Corporation. All rights reserved. | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining | ||
a copy of this software and associated documentation files (the | ||
"Software"), to deal in the Software without restriction, including | ||
without limitation the rights to use, copy, modify, merge, publish, | ||
distribute, sublicense, and/or sell copies of the Software, and to | ||
permit persons to whom the Software is furnished to do so, subject to | ||
the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be | ||
included in all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | ||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE | ||
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION | ||
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION | ||
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
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,27 @@ | ||
Copyright (c) 2018 Oracle and/or its affiliates. All rights reserved. | ||
|
||
The Universal Permissive License (UPL), Version 1.0 | ||
|
||
Subject to the condition set forth below, permission is hereby granted to any person obtaining a copy of this | ||
software, associated documentation and/or data (collectively the "Software"), free of charge and under any and | ||
all copyright rights in the Software, and any and all patent rights owned or freely licensable by each licensor | ||
hereunder covering either (i) the unmodified Software as contributed to or provided by such licensor, or | ||
(ii) the Larger Works (as defined below), to deal in both | ||
|
||
(a) the Software, and | ||
(b) any piece of software and/or hardware listed in the lrgrwrks.txt file if one is included with the Software | ||
(each a “Larger Work” to which the Software is contributed by such licensors), | ||
|
||
without restriction, including without limitation the rights to copy, create derivative works of, display, | ||
perform, and distribute the Software and make, use, sell, offer for sale, import, export, have made, and have | ||
sold the Software and the Larger Work(s), and to sublicense the foregoing rights on either these or other terms. | ||
|
||
This license is subject to the following condition: | ||
The above copyright notice and either this complete permission notice or at a minimum a reference to the UPL must | ||
be included in all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO | ||
THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF | ||
CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS | ||
IN THE SOFTWARE. |
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,22 @@ | ||
|
||
Tuxedo + SALT + TSAM Plus agent on Docker | ||
=============== | ||
|
||
## How to run | ||
#Before running buildDockerImage.sh, you need to set the environment variables, http_proxy, https_proxy, ftp_proxy, and no_proxy, to access internet if the docker environment is behind a corporate proxy. | ||
|
||
The base image oracle/tuxedo:12.2.2 should be built before you run buildDockerImage.sh. | ||
- For how to build the base image oracle/tuxedo:12.2.2, visit [Tuxedo on Docker](https://github.com/oracle/docker-images/tree/master/OracleTuxedo/core). | ||
Before getting started, download the Tuxedo 12.2.2 Linux 64 bit installer tuxedo122200_64_Linux_01_x86.zip from http://www.oracle.com/technetwork/middleware/tuxedo/downloads/index.html | ||
Execute: | ||
$ ./buildDockerImage.sh | ||
Or: | ||
$ docker build -t oracle/tuxedoall 12.2.2/ | ||
|
||
You can then start the image in a new container with: | ||
$ docker run -d -v \${LOCAL_DIR}:/u01/oracle/user_projects oracle/tuxedoall | ||
Note: \${LOCAL_DIR} is a local dir which used in docker image as external storage, it can be any dir in host machine, permission of this dir should be set like this: | ||
$ docker run -ti --rm --entrypoint="/bin/bash" oracle/tuxedoall -c "whoami && id" tuxedoall | ||
oracle | ||
uid=1000(oracle) gid=1000(oracle) groups=1000(oracle) | ||
$ sudo chown -R 1000 \${LOCAL_DIR} |
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,40 @@ | ||
# Pull Tuxedo base image | ||
FROM oracle/tuxedo:12.2.2 | ||
|
||
MAINTAINER Judy Liu<judy.liu@oracle.com> | ||
|
||
# Common environment variables required for this build (do NOT change) | ||
# -------------------------------------------------------------------- | ||
ENV ORACLE_HOME=/u01/oracle \ | ||
JAVA_HOME=/usr/java/default \ | ||
PATH=/usr/java/default/bin:$PATH \ | ||
TUX_PKG=tuxedo122200_64_Linux_01_x86.zip | ||
|
||
# Copy packages | ||
# ------------- | ||
USER root | ||
COPY tuxedo12.2.2.rsp $TUX_PKG oraInst.loc /u01/ | ||
RUN mv /u01/oraInst.loc /etc/ && \ | ||
chown oracle:oracle -R /u01 | ||
USER oracle | ||
|
||
# Install Tuxedo | ||
# ------------------------------------------------------------ | ||
RUN cd /u01 && \ | ||
jar xf $TUX_PKG && \ | ||
cd /u01/Disk1/install && \ | ||
chmod -R +x * && \ | ||
./runInstaller.sh -responseFile /u01/tuxedo12.2.2.rsp -silent -waitforcompletion && \ | ||
rm -rf /u01/Disk1 \ | ||
/u01/tuxedo12.2.2.rsp \ | ||
/u01/$TUX_PKG | ||
|
||
ENV ORACLE_HOME=/u01/oracle/tuxHome | ||
ENV TUXDIR /u01/oracle/tuxHome/tuxedo12.2.2.0.0 | ||
|
||
WORKDIR /u01/oracle | ||
|
||
EXPOSE 7001 7002 | ||
|
||
# Define ENTRYPOINT. | ||
ENTRYPOINT ["/u01/oracle/init.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,11 @@ | ||
#!/bin/bash | ||
|
||
cat <<EOF | ||
This sample Docker image is provided by Oracle and is designed to be used as a base image from which you can build Tuxedo-based applications. | ||
To help you get started customizing this image, we've provided two sample applications ("shm" and "mp") in the Oracle Docker Images GitHub repository. These samples demonstrate how to deploy applications, source code, configuration files and the other necessary settings to build Tuxedo-enabled application containers. | ||
For more information on this image, please visit the Oracle Docker Images GitHub repository at https://github.com/oracle/docker-images. | ||
For more information on Tuxedo, please read the Oracle Tuxedo documentation at http://docs.oracle.com/cd/E72452_01/tuxedo/docs1222/index.html. | ||
EOF |
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,2 @@ | ||
inventory_loc=/u01/oraInventory | ||
inst_group=oracle |
Oops, something went wrong.