From aac1d8f19af1e0a3717399a4e2e373a06bd92e80 Mon Sep 17 00:00:00 2001 From: Layne Cai <15506906353@163.com> Date: Tue, 29 Mar 2022 17:33:23 +0800 Subject: [PATCH] =?UTF-8?q?fix:docker=20=E6=89=93=E5=8C=85=E5=99=A8?= =?UTF-8?q?=E6=9B=B4=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 30 +++++- ruoyi-auth/pom.xml | 247 ++++++++++++++++++++++++--------------------- 2 files changed, 157 insertions(+), 120 deletions(-) diff --git a/pom.xml b/pom.xml index 57b333de..0c27bb00 100644 --- a/pom.xml +++ b/pom.xml @@ -304,12 +304,34 @@ + com.spotify - dockerfile-maven-plugin - ${dockerfile.maven.plugin.version} - - + dockerfile-maven-plugin + ${dockerfile.maven.plugin.version} + + + default + + + + push + + + + + sino-tech-admin + Fros_1234 + 175.178.38.240:8076//${artifactId} + ${project.version} + + + target/${project.build.finalName}.jar + + + + + org.apache.maven.plugins maven-compiler-plugin ${compiler.maven.plugin.version} diff --git a/ruoyi-auth/pom.xml b/ruoyi-auth/pom.xml index 161af1d5..9808206d 100644 --- a/ruoyi-auth/pom.xml +++ b/ruoyi-auth/pom.xml @@ -1,116 +1,131 @@ - - - com.ruoyi - ruoyi - 3.4.0 - - 4.0.0 - - ruoyi-auth - - - ruoyi-auth认证授权中心 - - - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-nacos-discovery - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-nacos-config - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-sentinel - - - - - org.springframework.boot - spring-boot-starter-web - - - - - org.springframework.boot - spring-boot-starter-actuator - - - - - com.ruoyi - ruoyi-common-security - - - - - - ${project.artifactId} - - - - - - - - - - - - - - - com.spotify - dockerfile-maven-plugin - - - - - ${project.artifactId}:last - - openjdk:8-jre - - - http://175.178.38.240:8076 - - - - /mydata/service/ruoyi - - mkdir -p /mydata/service/ruoyi - /mydata/service/ruoyi - - ["java", "-jar", "-Dspring.profiles.active=dev","/mydata/service/ruoyi/${project.build.finalName}.jar"] - - - - - - - - - - - - - - - - - - - - - - - + + + com.ruoyi + ruoyi + 3.4.0 + + 4.0.0 + + ruoyi-auth + + + ruoyi-auth认证授权中心 + + + + + + + com.alibaba.cloud + spring-cloud-starter-alibaba-nacos-discovery + + + + + com.alibaba.cloud + spring-cloud-starter-alibaba-nacos-config + + + + + com.alibaba.cloud + spring-cloud-starter-alibaba-sentinel + + + + + org.springframework.boot + spring-boot-starter-web + + + + + org.springframework.boot + spring-boot-starter-actuator + + + + + com.ruoyi + ruoyi-common-security + + + + + + ${project.artifactId} + + + org.springframework.boot + spring-boot-maven-plugin + + + + repackage + + + + + + + + + + + com.spotify + dockerfile-maven-plugin + + + + + ${project.artifactId} + ${project.version} + + + target/${project.build.finalName}.jar + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +