|
@@ -1,25 +1,7 @@
|
|
-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
|
|
|
|
|
|
+FROM hub.evbj.easou.com/pro/nginx-material:r13
|
|
|
|
|
|
COPY entrypoint.sh /usr/bin/entrypoint.sh
|
|
COPY entrypoint.sh /usr/bin/entrypoint.sh
|
|
-
|
|
|
|
-#install jdk8 & resin4
|
|
|
|
-
|
|
|
|
-RUN yum install -y epel-release \
|
|
|
|
- && yum -y install wget rsync lsof crontabs vim psmisc\
|
|
|
|
- && yum install -y supervisor \
|
|
|
|
- && yum install -y nginx \
|
|
|
|
- && mkdir -p /usr/java /app/soft /cron/root \
|
|
|
|
- && curl -O http://10.26.22.113:9000/psop/soft/jdk1.8.0_271.tar.gz \
|
|
|
|
- && tar -xf jdk1.8.0_271.tar.gz -C /usr/java/ \
|
|
|
|
- && rm -f jdk1.8.0_271.tar.gz \
|
|
|
|
- && ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone \
|
|
|
|
- && chmod +x /usr/bin/entrypoint.sh
|
|
|
|
|
|
+RUN chmod +x /usr/bin/entrypoint.sh
|
|
COPY root /var/spool/cron/root
|
|
COPY root /var/spool/cron/root
|
|
COPY rsync.sh /cron/root/rsync.sh
|
|
COPY rsync.sh /cron/root/rsync.sh
|
|
ADD nginx.conf /etc/nginx/nginx.conf
|
|
ADD nginx.conf /etc/nginx/nginx.conf
|