1234567891011121314151617181920212223242526272829303132 |
- FROM hub.evbj.easou.com/dev/centos:7.9.2009
- LABEL author="robert[robert_du@easou.cn]"
- ENV LANG en_US.UTF-8
- ENV TZ=Asia/Shanghai
- ENV JAVA_HOME /usr/java/jdk1.8.0_271
- ENV MAVEN_HOME /app/soft/maven3.0.3
- COPY entrypoint.sh /usr/bin/entrypoint.sh
- #install jdk8 & maven3
- RUN yum install -y wget rsync epel-release lsof crontabs vim psmisc svn\
- && yum install -y supervisor \
- && mkdir -p /usr/java /app/soft /root/.m2/ /root/.subversion/auth/svn.ssl.server/ /app/wapage \
- && curl -O http://10.40.21.157:9000/psop/soft/jdk1.8.0_271.tar.gz \
- && curl -O http://10.40.21.157:9000/psop/soft/maven3.0.3.tar.gz \
- && tar -zxf jdk1.8.0_271.tar.gz -C /usr/java/ \
- && tar -zxf maven3.0.3.tar.gz -C /app/soft \
- && rm -f jdk1.8.0_271.tar.gz maven3.0.3.tar.gz \
- && ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone \
- && chmod +x /usr/bin/entrypoint.sh
- COPY 2ea92094abd2c97ce8d8036c8fc0087d /root/.subversion/auth/svn.ssl.server/2ea92094abd2c97ce8d8036c8fc0087d
- COPY supervisord.conf /etc/supervisord.conf
- COPY settings.xml /root/.m2/settings.xml
- COPY start.sh /app/wapage/start.sh
- COPY build.sh /app/build.sh
- ENTRYPOINT ["entrypoint.sh"]
- CMD ["supervisord"]
|