Jelajahi Sumber

init project

yangxg 2 tahun lalu
induk
melakukan
5c40ec720d
2 mengubah file dengan 5 tambahan dan 4 penghapusan
  1. 2 2
      .drone.yml
  2. 3 2
      Dockerfile

+ 2 - 2
.drone.yml

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

+ 3 - 2
Dockerfile

@@ -1,4 +1,4 @@
-FROM hub.evbj.easou.com/dev/centos:7.9.2009
+FROM centos:7
 
 LABEL author="robert[robert_du@easou.cn]"
 
@@ -11,8 +11,9 @@ 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 nginx\
+    && 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/ \