Browse Source

修正initial script file execute permission

master
Richard Shih 6 years ago
parent
commit
2a4ae3e48d
3 changed files with 3 additions and 3 deletions
  1. 2
      wildfly_base/Dockerfile
  2. 2
      wildfly_tml/Dockerfile
  3. 2
      wildfly_tml_khhw/Dockerfile

2
wildfly_base/Dockerfile

@ -16,7 +16,7 @@ COPY --chown=jboss . ${JBOSS_HOME}/config
RUN cd ${JBOSS_HOME}/config/modules && ./make_modules.sh
#customize settings
RUN cd ${JBOSS_HOME}/config/initial && ./setup.sh
RUN chmod -R 777 ${JBOSS_HOME}/config && cd ${JBOSS_HOME}/config/initial && ./setup.sh
#cleanup
RUN rm -rf ${JBOSS_HOME}/config

2
wildfly_tml/Dockerfile

@ -5,7 +5,7 @@ FROM khhwtml02t.wanhai.com:8182/jboss/wildfly-base:latest
COPY --chown=jboss . ${JBOSS_HOME}/config
#customize settings
RUN cd ${JBOSS_HOME}/config/initial && ./setup.sh
RUN chmod -R 777 ${JBOSS_HOME}/config && cd ${JBOSS_HOME}/config/initial && ./setup.sh
#cleanup
RUN rm -rf ${JBOSS_HOME}/config

2
wildfly_tml_khhw/Dockerfile

@ -7,6 +7,6 @@ ENV JAVA_OPTS="-Dcom.wanhai.tml.yard.current=KHHW"
COPY --chown=jboss . ${JBOSS_HOME}/config
#customize settings & cleanup
RUN cd ${JBOSS_HOME}/config/initial && ./setup.sh && rm -rf ${JBOSS_HOME}/config
RUN chmod -R 777 ${JBOSS_HOME}/config && cd ${JBOSS_HOME}/config/initial && ./setup.sh && rm -rf ${JBOSS_HOME}/config
# COPY --chown=jboss WHL_TML.ear ${JBOSS_HOME}/standalone/deployments/WHL_TML.ear
Loading…
Cancel
Save