From 79e0494bb4fa0e15788f8788bf595d13560aecee Mon Sep 17 00:00:00 2001 From: comprel <1079926688@qq.com> Date: Fri, 11 Jun 2021 23:20:18 +0800 Subject: [PATCH] =?UTF-8?q?[update]=E6=9B=B4=E6=96=B0register=EF=BC=8C=20p?= =?UTF-8?q?lugin=20install?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 2 ++ register.xml | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index a0afb865..260569d9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,6 +10,8 @@ WORKDIR /app/wecube_plugins_terraform/ COPY . . RUN mkdir -p /usr/local/share/terraform/plugins && \ + tar -zxvf /app/wecube_plugins_terraform/plugins/registry.terraform.io.tar.gz -C /usr/local/share/terraform/plugins && \ + rm -rf /app/wecube_plugins_terraform/plugins/registry.terraform.io.tar.gz && \ rm -rf /app/wecube_plugins_terraform/bin/terraform_0.15.5_linux_amd64.zip && \ ls /app/wecube_plugins_terraform/bin && \ \cp /app/wecube_plugins_terraform/bin/terraform /usr/bin/terraform && \ diff --git a/register.xml b/register.xml index 92420c4b..8b5b4d3c 100644 --- a/register.xml +++ b/register.xml @@ -32,7 +32,7 @@ @@ -835,6 +835,7 @@ cidr_ip asset_id region_id + ipaddress_group_id name begin_port security_group_id @@ -879,6 +880,7 @@ priority secret provider + ipaddress_group_id policy type from_port