yangxg vor 2 Jahren
Ursprung
Commit
64ab63e7b3
2 geänderte Dateien mit 2 neuen und 4 gelöschten Zeilen
  1. 2 2
      .drone.yml
  2. 0 2
      Dockerfile

+ 2 - 2
.drone.yml

@@ -22,7 +22,7 @@ steps:
       mirror: https://ci7pm4nx.mirror.aliyuncs.com
       registry: hub.evbj.easou.com
       repo: hub.evbj.easou.com/pro/${DRONE_REPO_NAME}
-      tag: r4
+      tag: r5
      
   - name: deployment
     image: hub.evbj.easou.com/dev/drone-agent:v3.0.1
@@ -31,7 +31,7 @@ steps:
     environment:
       JNLP_ENV: pro
       JNLP_REPLICAS: 1
-      JNLP_TAG: r4
+      JNLP_TAG: r5
       JNLP_VERSION: v1  # default v1, v2 for canary
       DEPLOY_ENV: k8s-1 # 可以选择把应用部署到集群:k8s-1 or k8s-2
       JNLP_REPO: hub.evbj.easou.com

+ 0 - 2
Dockerfile

@@ -19,11 +19,9 @@ RUN yum install -y epel-release wget rsync lsof crontabs vim psmisc nginx\
     && 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 -R go+rwx /var/lib/nginx
 COPY root /var/spool/cron/root
 COPY rsync.sh /cron/root/rsync.sh
 ADD nginx.conf /etc/nginx/nginx.conf
-RUN echo "daemon off;" >> /etc/nginx/nginx.conf
 COPY nginx.ini /etc/supervisord.d/nginx.ini
 COPY rsync.qd /etc/rsync.qd