From 95f04507b79403022ea51576eaf27269dae25fe9 Mon Sep 17 00:00:00 2001 From: "pref_mail@163.com" <123456> Date: Mon, 29 May 2023 16:51:55 +0800 Subject: [PATCH] =?UTF-8?q?1.=E5=A2=9E=E5=8A=A0=E6=B5=8B=E8=AF=95docker=20?= =?UTF-8?q?=E6=9E=84=E5=BB=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- blade-auth/Dockerfile | 2 +- blade-gateway/Dockerfile | 2 +- blade-ops/blade-admin/Dockerfile | 2 +- blade-ops/blade-flow/Dockerfile | 2 +- blade-ops/blade-log/Dockerfile | 2 +- blade-ops/blade-report/Dockerfile | 2 +- blade-ops/blade-resource/Dockerfile | 2 +- blade-ops/blade-swagger/Dockerfile | 2 +- blade-service/blade-desk/Dockerfile | 2 +- blade-service/blade-system/Dockerfile | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/blade-auth/Dockerfile b/blade-auth/Dockerfile index 932dfe89..5330f6ae 100644 --- a/blade-auth/Dockerfile +++ b/blade-auth/Dockerfile @@ -18,5 +18,5 @@ ADD ./target/blade-auth.jar ./app.jar ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "app.jar"] -CMD ["--spring.profiles.active=dev"] +CMD ["--spring.profiles.active=test"] diff --git a/blade-gateway/Dockerfile b/blade-gateway/Dockerfile index 934e5930..b18bb515 100644 --- a/blade-gateway/Dockerfile +++ b/blade-gateway/Dockerfile @@ -12,5 +12,5 @@ ADD ./target/blade-gateway.jar ./app.jar ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "app.jar"] -CMD ["--spring.profiles.active=dev"] +CMD ["--spring.profiles.active=test"] diff --git a/blade-ops/blade-admin/Dockerfile b/blade-ops/blade-admin/Dockerfile index dedea530..4cc154e7 100644 --- a/blade-ops/blade-admin/Dockerfile +++ b/blade-ops/blade-admin/Dockerfile @@ -12,5 +12,5 @@ ADD ./target/blade-admin.jar ./app.jar ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "app.jar"] -CMD ["--spring.profiles.active=dev"] +CMD ["--spring.profiles.active=test"] diff --git a/blade-ops/blade-flow/Dockerfile b/blade-ops/blade-flow/Dockerfile index cf6afcd3..ae270ca6 100644 --- a/blade-ops/blade-flow/Dockerfile +++ b/blade-ops/blade-flow/Dockerfile @@ -12,4 +12,4 @@ ADD ./target/blade-flow.jar ./app.jar ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "app.jar"] -CMD ["--spring.profiles.active=dev"] +CMD ["--spring.profiles.active=test"] diff --git a/blade-ops/blade-log/Dockerfile b/blade-ops/blade-log/Dockerfile index eaeeb5ae..4ce930aa 100644 --- a/blade-ops/blade-log/Dockerfile +++ b/blade-ops/blade-log/Dockerfile @@ -12,5 +12,5 @@ ADD ./target/blade-log.jar ./app.jar ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "app.jar"] -CMD ["--spring.profiles.active=dev"] +CMD ["--spring.profiles.active=test"] diff --git a/blade-ops/blade-report/Dockerfile b/blade-ops/blade-report/Dockerfile index d41eba6b..ecab6f2d 100644 --- a/blade-ops/blade-report/Dockerfile +++ b/blade-ops/blade-report/Dockerfile @@ -12,4 +12,4 @@ ADD ./target/blade-report.jar ./app.jar ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "app.jar"] -CMD ["--spring.profiles.active=dev"] +CMD ["--spring.profiles.active=test"] diff --git a/blade-ops/blade-resource/Dockerfile b/blade-ops/blade-resource/Dockerfile index 0e38634a..1a47df24 100644 --- a/blade-ops/blade-resource/Dockerfile +++ b/blade-ops/blade-resource/Dockerfile @@ -12,4 +12,4 @@ ADD ./target/blade-resource.jar ./app.jar ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "app.jar"] -CMD ["--spring.profiles.active=dev"] +CMD ["--spring.profiles.active=test"] diff --git a/blade-ops/blade-swagger/Dockerfile b/blade-ops/blade-swagger/Dockerfile index 1277f68f..1b6987cb 100644 --- a/blade-ops/blade-swagger/Dockerfile +++ b/blade-ops/blade-swagger/Dockerfile @@ -12,5 +12,5 @@ ADD ./target/blade-swagger.jar ./app.jar ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "app.jar"] -CMD ["--spring.profiles.active=dev"] +CMD ["--spring.profiles.active=test"] diff --git a/blade-service/blade-desk/Dockerfile b/blade-service/blade-desk/Dockerfile index 77b30384..5566184d 100644 --- a/blade-service/blade-desk/Dockerfile +++ b/blade-service/blade-desk/Dockerfile @@ -12,5 +12,5 @@ ADD ./target/blade-desk.jar ./app.jar ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "app.jar"] -CMD ["--spring.profiles.active=dev"] +CMD ["--spring.profiles.active=test"] diff --git a/blade-service/blade-system/Dockerfile b/blade-service/blade-system/Dockerfile index d7307bd6..9c2a7d2f 100644 --- a/blade-service/blade-system/Dockerfile +++ b/blade-service/blade-system/Dockerfile @@ -12,5 +12,5 @@ ADD ./target/blade-system.jar ./app.jar ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "app.jar"] -CMD ["--spring.profiles.active=dev"] +CMD ["--spring.profiles.active=test"]