Created
January 30, 2019 10:17
-
-
Save muffik/58c7d132b1abda2c7d4e7df9564da10a to your computer and use it in GitHub Desktop.
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
FROM ${base} | |
USER root | |
LABEL PROJECT_NAME=${project.artifactId} \ | |
PROJECT=${project.artifactId} | |
#Замена java-8 на java-7-jcp | |
COPY maven/java7-jcp /opt/IBM/WebSphere/AppServer/java | |
COPY maven/opt /opt | |
RUN apt-get update && apt-get install -y mc \ | |
&& mkdir -p \ | |
/it/gp-uzdo \ | |
/it/libs \ | |
/workdir | |
CMD /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/bin/wsadmin.sh \ | |
-conntype SOAP -host localhost -port 8880 -lang jython \ | |
-user wsadmin -password `cat /tmp/PASSWORD` \ | |
-f "/opt/prepareWas.py" | |
#/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/bin/wsadmin.sh \ | |
# -conntype SOAP -host localhost -port 8880 -lang jython \ | |
# -user wsadmin -password `cat /tmp/PASSWORD` \ | |
# -f "/opt/prepareWas.py" | |
# | |
#/opt/IBM/WebSphere/AppServer/profiles/Dmgr01/bin/wsadmin.sh \ | |
#-javaoption -Xmx1024m \ | |
#-conntype SOAP -host localhost -port 8879 \ | |
#-user wasadmin -password o9p0[-]= \ | |
#-lang jython -f "$SCRIPTDIR/autoDeploy.py" \ | |
#"environment=$SCRIPTDIR/environment.properties" \ | |
#"applications=$SCRIPTDIR/applications.properties" \ | |
#"deployType=cleanInstall" \ | |
#"folder=$SCRIPTDIR/modules" | |
# Внешние порты | |
EXPOSE 9080 9043 9443 7777 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment