docker 镜像打包 skywalking-java-agent
This commit is contained in:
parent
30f4b0c147
commit
41551d5acc
@ -40,7 +40,7 @@
|
||||
<jodatime.version>2.10.1</jodatime.version>
|
||||
<xxl-job.version>2.3.0</xxl-job.version>
|
||||
<knife4j.version>2.0.9</knife4j.version>
|
||||
<mybatis-plus-generator.version>3.4.1</mybatis-plus-generator.version>
|
||||
<mybatis-plus-generator.version>3.4.0</mybatis-plus-generator.version>
|
||||
<velocity-engine-core.version>2.0</velocity-engine-core.version>
|
||||
<maven.compiler.source>8</maven.compiler.source>
|
||||
<maven.compiler.target>8</maven.compiler.target>
|
||||
|
@ -1,6 +1,57 @@
|
||||
FROM openjdk:8-jdk-alpine
|
||||
FROM apache/skywalking-java-agent:9.1.0-java8
|
||||
LABEL authors="yovinchen"
|
||||
VOLUME /tmp
|
||||
ADD ./target/service-gateway.jar service-gateway.jar
|
||||
ENTRYPOINT ["java","-jar","/service-gateway.jar", "&"]
|
||||
LABEL name="service-gateway"
|
||||
|
||||
ARG APP_NAME="service-gateway"
|
||||
ARG JAR_FILE="${APP_NAME}.jar"
|
||||
ARG WORK_PATH="/skywalking"
|
||||
|
||||
ENV JAR_FILE=${JAR_FILE}
|
||||
ENV SW_AGENT_NAME=${APP_NAME}
|
||||
ENV SW_AGENT_COLLECTOR_BACKEND_SERVICES="10.211.55.50:11800"
|
||||
|
||||
RUN rm /skywalking/agent/plugins/apm-armeria-* \
|
||||
/skywalking/agent/plugins/apm-cxf-* \
|
||||
/skywalking/agent/plugins/apm-dubbo-* \
|
||||
/skywalking/agent/plugins/apm-elasticsearch-* \
|
||||
/skywalking/agent/plugins/apm-feign-* \
|
||||
/skywalking/agent/plugins/apm-grizzly-* \
|
||||
/skywalking/agent/plugins/apm-grpc-* \
|
||||
/skywalking/agent/plugins/apm-h2-* \
|
||||
/skywalking/agent/plugins/apm-hbase-* \
|
||||
/skywalking/agent/plugins/apm-httpclient-* \
|
||||
/skywalking/agent/plugins/apm-httpClient-* \
|
||||
/skywalking/agent/plugins/apm-mongodb-* \
|
||||
/skywalking/agent/plugins/apm-mysql-* \
|
||||
/skywalking/agent/plugins/apm-netty-socketio-* \
|
||||
/skywalking/agent/plugins/apm-nutz-http-* \
|
||||
/skywalking/agent/plugins/apm-nutz-mvc-annotation-* \
|
||||
/skywalking/agent/plugins/apm-okhttp-* \
|
||||
/skywalking/agent/plugins/apm-play-* \
|
||||
/skywalking/agent/plugins/apm-rocketmq-* \
|
||||
/skywalking/agent/plugins/apm-spring-cloud-feign-* \
|
||||
/skywalking/agent/plugins/apm-spring-core-patch-* \
|
||||
/skywalking/agent/plugins/apm-springmvc-annotation-* \
|
||||
/skywalking/agent/plugins/apm-tomcat-* \
|
||||
/skywalking/agent/plugins/apm-xxl-job-* \
|
||||
/skywalking/agent/plugins/micronaut-http-client-* \
|
||||
/skywalking/agent/plugins/micronaut-http-server-* \
|
||||
/skywalking/agent/plugins/spring-webflux-5.x-webclient-* \
|
||||
/skywalking/agent/plugins/websphere-liberty-* \
|
||||
/skywalking/agent/plugins/graphql-* \
|
||||
/skywalking/agent/plugins/jedis-* \
|
||||
/skywalking/agent/plugins/jsonrpc4j-* \
|
||||
/skywalking/agent/plugins/motan-* \
|
||||
/skywalking/agent/plugins/nats-* \
|
||||
/skywalking/agent/plugins/okhttp-* \
|
||||
/skywalking/agent/plugins/sofa-rpc-* \
|
||||
/skywalking/agent/plugins/thrift-*
|
||||
|
||||
RUN cp /skywalking/agent/optional-plugins/apm-spring-cloud-gateway-*.jar /skywalking/agent/plugins/
|
||||
|
||||
COPY ./target/$JAR_FILE $JAR_FILE
|
||||
|
||||
WORKDIR $WORK_PATH
|
||||
ENTRYPOINT exec java -jar $JAR_FILE
|
||||
|
||||
|
||||
|
@ -24,7 +24,6 @@
|
||||
<artifactId>apm-toolkit-trace</artifactId>
|
||||
<version>9.1.0</version>
|
||||
</dependency>
|
||||
|
||||
<!-- skywalking logback插件 -->
|
||||
<!-- https://mvnrepository.com/artifact/org.apache.skywalking/apm-toolkit-logback-1.x -->
|
||||
<dependency>
|
||||
@ -43,10 +42,6 @@
|
||||
<groupId>com.alibaba.cloud</groupId>
|
||||
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-aop</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.alibaba.cloud</groupId>
|
||||
<artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
|
||||
|
@ -37,18 +37,16 @@
|
||||
<!-- <artifactId>logstash-gelf</artifactId>-->
|
||||
<!-- <version>1.15.0</version>-->
|
||||
<!-- </dependency>-->
|
||||
|
||||
<!-- 如果想在项目代码中获取链路TraceId,则需要引入此依赖 -->
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-aop</artifactId>
|
||||
</dependency>
|
||||
<!-- https://mvnrepository.com/artifact/org.apache.skywalking/apm-toolkit-trace -->
|
||||
<dependency>
|
||||
<groupId>org.apache.skywalking</groupId>
|
||||
<artifactId>apm-toolkit-trace</artifactId>
|
||||
<version>9.1.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-aop</artifactId>
|
||||
</dependency>
|
||||
<!-- skywalking logback插件 -->
|
||||
<!-- https://mvnrepository.com/artifact/org.apache.skywalking/apm-toolkit-logback-1.x -->
|
||||
<dependency>
|
||||
|
@ -1,5 +1,35 @@
|
||||
FROM openjdk:8-jdk-alpine
|
||||
FROM apache/skywalking-java-agent:9.1.0-java8
|
||||
LABEL authors="yovinchen"
|
||||
VOLUME /tmp
|
||||
ADD ./target/service-acl.jar service-acl.jar
|
||||
ENTRYPOINT ["java","-jar","/service-acl.jar", "&"]
|
||||
|
||||
ARG APP_NAME="service-acl"
|
||||
ARG JAR_FILE="${APP_NAME}.jar"
|
||||
ARG WORK_PATH="/skywalking"
|
||||
|
||||
ENV JAR_FILE=${JAR_FILE}
|
||||
ENV SW_AGENT_NAME=${APP_NAME}
|
||||
ENV SW_AGENT_COLLECTOR_BACKEND_SERVICES="10.211.55.50:11800"
|
||||
|
||||
RUN rm /skywalking/agent/plugins/apm-cxf-* \
|
||||
/skywalking/agent/plugins/apm-dubbo-* \
|
||||
/skywalking/agent/plugins/apm-grizzly-* \
|
||||
/skywalking/agent/plugins/apm-grpc-* \
|
||||
/skywalking/agent/plugins/apm-h2-* \
|
||||
/skywalking/agent/plugins/apm-hbase-* \
|
||||
/skywalking/agent/plugins/apm-mongodb-* \
|
||||
/skywalking/agent/plugins/apm-netty-socketio-* \
|
||||
/skywalking/agent/plugins/apm-nutz-http-* \
|
||||
/skywalking/agent/plugins/apm-play-* \
|
||||
/skywalking/agent/plugins/apm-rocketmq-* \
|
||||
/skywalking/agent/plugins/micronaut-http-client-* \
|
||||
/skywalking/agent/plugins/micronaut-http-server-* \
|
||||
/skywalking/agent/plugins/websphere-liberty-* \
|
||||
/skywalking/agent/plugins/graphql-* \
|
||||
/skywalking/agent/plugins/motan-* \
|
||||
/skywalking/agent/plugins/nats-* \
|
||||
/skywalking/agent/plugins/sofa-rpc-* \
|
||||
/skywalking/agent/plugins/thrift-*
|
||||
|
||||
COPY ./target/$JAR_FILE $JAR_FILE
|
||||
|
||||
WORKDIR $WORK_PATH
|
||||
ENTRYPOINT exec java -jar $JAR_FILE
|
||||
|
@ -1,12 +1,12 @@
|
||||
package com.yovinchen.xlcs.acl.controller;
|
||||
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.yovinchen.xlcs.acl.service.PermissionService;
|
||||
import com.yovinchen.xlcs.acl.service.RoleService;
|
||||
import com.yovinchen.xlcs.common.result.Result;
|
||||
import com.yovinchen.xlcs.model.acl.Role;
|
||||
import com.yovinchen.xlcs.vo.acl.RoleQueryVo;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
@ -103,7 +103,6 @@ public class RoleController {
|
||||
@ApiOperation(value = "根据id列表删除角色")
|
||||
@DeleteMapping("batchRemove")
|
||||
public Result batchRemove(@RequestBody List<Long> idList) {
|
||||
// TODO
|
||||
try {
|
||||
boolean result = roleService.removeByIds(idList);
|
||||
return result ? Result.ok(null) : Result.fail(null);
|
||||
@ -116,7 +115,6 @@ public class RoleController {
|
||||
@ApiOperation(value = "获取一个角色的所有权限列表")
|
||||
@GetMapping("toAssign/{id}")
|
||||
public Result toAssign(@PathVariable Long id) {
|
||||
// TODO
|
||||
try {
|
||||
Map<String, Object> result = permissionService.getPermissionById(id);
|
||||
return Result.ok(result);
|
||||
|
@ -1,5 +1,3 @@
|
||||
server:
|
||||
port: 8201
|
||||
spring:
|
||||
application:
|
||||
name: service-acl
|
||||
@ -11,5 +9,7 @@ spring:
|
||||
server-addr: 82.157.68.223:8848
|
||||
username: nacos
|
||||
password: nacos
|
||||
server:
|
||||
port: 8201
|
||||
application:
|
||||
version: v1.0.0
|
||||
|
@ -12,6 +12,7 @@
|
||||
<!-- 日志文件的存储地址,由application.yml中的logging.path配置,根路径默认同项目路径 -->
|
||||
<!-- <property name="LOG_HOME" value="${LOG_PATH:-./logs}"/>-->
|
||||
<property name="LOG_HOME" value="/Users/yovinchen/Desktop/project/xlcs/xlcs-parent/data/logs"/>
|
||||
<!-- <property name="LOG_HOME" value="/var/logs"/>-->
|
||||
<property name="LOG_FILE_MAX_SIZE" value="100MB"/>
|
||||
<property name="LOG_FILE_MAX_HISTORY" value="180"/>
|
||||
<property name="LOG_TOTAL_SIZE_CAP" value="100GB"/>
|
||||
|
@ -1,5 +1,35 @@
|
||||
FROM openjdk:8-jdk-alpine
|
||||
FROM apache/skywalking-java-agent:9.1.0-java8
|
||||
LABEL authors="yovinchen"
|
||||
VOLUME /tmp
|
||||
ADD ./target/service-activity.jar service-activity.jar
|
||||
ENTRYPOINT ["java","-jar","/service-activity.jar", "&"]
|
||||
|
||||
ARG APP_NAME="service-activity"
|
||||
ARG JAR_FILE="${APP_NAME}.jar"
|
||||
ARG WORK_PATH="/skywalking"
|
||||
|
||||
ENV JAR_FILE=${JAR_FILE}
|
||||
ENV SW_AGENT_NAME=${APP_NAME}
|
||||
ENV SW_AGENT_COLLECTOR_BACKEND_SERVICES="10.211.55.50:11800"
|
||||
|
||||
RUN rm /skywalking/agent/plugins/apm-cxf-* \
|
||||
/skywalking/agent/plugins/apm-dubbo-* \
|
||||
/skywalking/agent/plugins/apm-grizzly-* \
|
||||
/skywalking/agent/plugins/apm-grpc-* \
|
||||
/skywalking/agent/plugins/apm-h2-* \
|
||||
/skywalking/agent/plugins/apm-hbase-* \
|
||||
/skywalking/agent/plugins/apm-mongodb-* \
|
||||
/skywalking/agent/plugins/apm-netty-socketio-* \
|
||||
/skywalking/agent/plugins/apm-nutz-http-* \
|
||||
/skywalking/agent/plugins/apm-play-* \
|
||||
/skywalking/agent/plugins/apm-rocketmq-* \
|
||||
/skywalking/agent/plugins/micronaut-http-client-* \
|
||||
/skywalking/agent/plugins/micronaut-http-server-* \
|
||||
/skywalking/agent/plugins/websphere-liberty-* \
|
||||
/skywalking/agent/plugins/graphql-* \
|
||||
/skywalking/agent/plugins/motan-* \
|
||||
/skywalking/agent/plugins/nats-* \
|
||||
/skywalking/agent/plugins/sofa-rpc-* \
|
||||
/skywalking/agent/plugins/thrift-*
|
||||
|
||||
COPY ./target/$JAR_FILE $JAR_FILE
|
||||
|
||||
WORKDIR $WORK_PATH
|
||||
ENTRYPOINT exec java -jar $JAR_FILE
|
||||
|
@ -1,5 +1,36 @@
|
||||
FROM openjdk:8-jdk-alpine
|
||||
FROM apache/skywalking-java-agent:9.1.0-java8
|
||||
LABEL authors="yovinchen"
|
||||
VOLUME /tmp
|
||||
ADD ./target/service-cart.jar service-cart.jar
|
||||
ENTRYPOINT ["java","-jar","/service-cart.jar", "&"]
|
||||
|
||||
ARG APP_NAME="service-cart"
|
||||
ARG JAR_FILE="${APP_NAME}.jar"
|
||||
ARG WORK_PATH="/skywalking"
|
||||
|
||||
ENV JAR_FILE=${JAR_FILE}
|
||||
ENV SW_AGENT_NAME=${APP_NAME}
|
||||
ENV SW_AGENT_COLLECTOR_BACKEND_SERVICES="10.211.55.50:11800"
|
||||
|
||||
RUN rm /skywalking/agent/plugins/apm-cxf-* \
|
||||
/skywalking/agent/plugins/apm-dubbo-* \
|
||||
/skywalking/agent/plugins/apm-grizzly-* \
|
||||
/skywalking/agent/plugins/apm-grpc-* \
|
||||
/skywalking/agent/plugins/apm-h2-* \
|
||||
/skywalking/agent/plugins/apm-hbase-* \
|
||||
/skywalking/agent/plugins/apm-mongodb-* \
|
||||
/skywalking/agent/plugins/apm-netty-socketio-* \
|
||||
/skywalking/agent/plugins/apm-nutz-http-* \
|
||||
/skywalking/agent/plugins/apm-play-* \
|
||||
/skywalking/agent/plugins/apm-rocketmq-* \
|
||||
/skywalking/agent/plugins/micronaut-http-client-* \
|
||||
/skywalking/agent/plugins/micronaut-http-server-* \
|
||||
/skywalking/agent/plugins/websphere-liberty-* \
|
||||
/skywalking/agent/plugins/graphql-* \
|
||||
/skywalking/agent/plugins/motan-* \
|
||||
/skywalking/agent/plugins/nats-* \
|
||||
/skywalking/agent/plugins/sofa-rpc-* \
|
||||
/skywalking/agent/plugins/thrift-*
|
||||
|
||||
COPY ./target/$JAR_FILE $JAR_FILE
|
||||
|
||||
WORKDIR $WORK_PATH
|
||||
ENTRYPOINT exec java -jar $JAR_FILE
|
||||
|
||||
|
@ -1,5 +1,35 @@
|
||||
FROM openjdk:8-jdk-alpine
|
||||
FROM apache/skywalking-java-agent:9.1.0-java8
|
||||
LABEL authors="yovinchen"
|
||||
VOLUME /tmp
|
||||
ADD ./target/service-home.jar service-home.jar
|
||||
ENTRYPOINT ["java","-jar","/service-home.jar", "&"]
|
||||
|
||||
ARG APP_NAME="service-home"
|
||||
ARG JAR_FILE="${APP_NAME}.jar"
|
||||
ARG WORK_PATH="/skywalking"
|
||||
|
||||
ENV JAR_FILE=${JAR_FILE}
|
||||
ENV SW_AGENT_NAME=${APP_NAME}
|
||||
ENV SW_AGENT_COLLECTOR_BACKEND_SERVICES="10.211.55.50:11800"
|
||||
|
||||
RUN rm /skywalking/agent/plugins/apm-cxf-* \
|
||||
/skywalking/agent/plugins/apm-dubbo-* \
|
||||
/skywalking/agent/plugins/apm-grizzly-* \
|
||||
/skywalking/agent/plugins/apm-grpc-* \
|
||||
/skywalking/agent/plugins/apm-h2-* \
|
||||
/skywalking/agent/plugins/apm-hbase-* \
|
||||
/skywalking/agent/plugins/apm-mongodb-* \
|
||||
/skywalking/agent/plugins/apm-netty-socketio-* \
|
||||
/skywalking/agent/plugins/apm-nutz-http-* \
|
||||
/skywalking/agent/plugins/apm-play-* \
|
||||
/skywalking/agent/plugins/apm-rocketmq-* \
|
||||
/skywalking/agent/plugins/micronaut-http-client-* \
|
||||
/skywalking/agent/plugins/micronaut-http-server-* \
|
||||
/skywalking/agent/plugins/websphere-liberty-* \
|
||||
/skywalking/agent/plugins/graphql-* \
|
||||
/skywalking/agent/plugins/motan-* \
|
||||
/skywalking/agent/plugins/nats-* \
|
||||
/skywalking/agent/plugins/sofa-rpc-* \
|
||||
/skywalking/agent/plugins/thrift-*
|
||||
|
||||
COPY ./target/$JAR_FILE $JAR_FILE
|
||||
|
||||
WORKDIR $WORK_PATH
|
||||
ENTRYPOINT exec java -jar $JAR_FILE
|
||||
|
@ -1,5 +1,35 @@
|
||||
FROM openjdk:8-jdk-alpine
|
||||
FROM apache/skywalking-java-agent:9.1.0-java8
|
||||
LABEL authors="yovinchen"
|
||||
VOLUME /tmp
|
||||
ADD ./target/service-order.jar service-order.jar
|
||||
ENTRYPOINT ["java","-jar","/service-order.jar", "&"]
|
||||
|
||||
ARG APP_NAME="service-order"
|
||||
ARG JAR_FILE="${APP_NAME}.jar"
|
||||
ARG WORK_PATH="/skywalking"
|
||||
|
||||
ENV JAR_FILE=${JAR_FILE}
|
||||
ENV SW_AGENT_NAME=${APP_NAME}
|
||||
ENV SW_AGENT_COLLECTOR_BACKEND_SERVICES="10.211.55.50:11800"
|
||||
|
||||
RUN rm /skywalking/agent/plugins/apm-cxf-* \
|
||||
/skywalking/agent/plugins/apm-dubbo-* \
|
||||
/skywalking/agent/plugins/apm-grizzly-* \
|
||||
/skywalking/agent/plugins/apm-grpc-* \
|
||||
/skywalking/agent/plugins/apm-h2-* \
|
||||
/skywalking/agent/plugins/apm-hbase-* \
|
||||
/skywalking/agent/plugins/apm-mongodb-* \
|
||||
/skywalking/agent/plugins/apm-netty-socketio-* \
|
||||
/skywalking/agent/plugins/apm-nutz-http-* \
|
||||
/skywalking/agent/plugins/apm-play-* \
|
||||
/skywalking/agent/plugins/apm-rocketmq-* \
|
||||
/skywalking/agent/plugins/micronaut-http-client-* \
|
||||
/skywalking/agent/plugins/micronaut-http-server-* \
|
||||
/skywalking/agent/plugins/websphere-liberty-* \
|
||||
/skywalking/agent/plugins/graphql-* \
|
||||
/skywalking/agent/plugins/motan-* \
|
||||
/skywalking/agent/plugins/nats-* \
|
||||
/skywalking/agent/plugins/sofa-rpc-* \
|
||||
/skywalking/agent/plugins/thrift-*
|
||||
|
||||
COPY ./target/$JAR_FILE $JAR_FILE
|
||||
|
||||
WORKDIR $WORK_PATH
|
||||
ENTRYPOINT exec java -jar $JAR_FILE
|
||||
|
@ -1,5 +1,35 @@
|
||||
FROM openjdk:8-jdk-alpine
|
||||
FROM apache/skywalking-java-agent:9.1.0-java8
|
||||
LABEL authors="yovinchen"
|
||||
VOLUME /tmp
|
||||
ADD ./target/service-payment.jar service-order.jar
|
||||
ENTRYPOINT ["java","-jar","/service-payment.jar", "&"]
|
||||
|
||||
ARG APP_NAME="service-payment"
|
||||
ARG JAR_FILE="${APP_NAME}.jar"
|
||||
ARG WORK_PATH="/skywalking"
|
||||
|
||||
ENV JAR_FILE=${JAR_FILE}
|
||||
ENV SW_AGENT_NAME=${APP_NAME}
|
||||
ENV SW_AGENT_COLLECTOR_BACKEND_SERVICES="10.211.55.50:11800"
|
||||
|
||||
RUN rm /skywalking/agent/plugins/apm-cxf-* \
|
||||
/skywalking/agent/plugins/apm-dubbo-* \
|
||||
/skywalking/agent/plugins/apm-grizzly-* \
|
||||
/skywalking/agent/plugins/apm-grpc-* \
|
||||
/skywalking/agent/plugins/apm-h2-* \
|
||||
/skywalking/agent/plugins/apm-hbase-* \
|
||||
/skywalking/agent/plugins/apm-mongodb-* \
|
||||
/skywalking/agent/plugins/apm-netty-socketio-* \
|
||||
/skywalking/agent/plugins/apm-nutz-http-* \
|
||||
/skywalking/agent/plugins/apm-play-* \
|
||||
/skywalking/agent/plugins/apm-rocketmq-* \
|
||||
/skywalking/agent/plugins/micronaut-http-client-* \
|
||||
/skywalking/agent/plugins/micronaut-http-server-* \
|
||||
/skywalking/agent/plugins/websphere-liberty-* \
|
||||
/skywalking/agent/plugins/graphql-* \
|
||||
/skywalking/agent/plugins/motan-* \
|
||||
/skywalking/agent/plugins/nats-* \
|
||||
/skywalking/agent/plugins/sofa-rpc-* \
|
||||
/skywalking/agent/plugins/thrift-*
|
||||
|
||||
COPY ./target/$JAR_FILE $JAR_FILE
|
||||
|
||||
WORKDIR $WORK_PATH
|
||||
ENTRYPOINT exec java -jar $JAR_FILE
|
||||
|
@ -1,5 +1,35 @@
|
||||
FROM openjdk:8-jdk-alpine
|
||||
FROM apache/skywalking-java-agent:9.1.0-java8
|
||||
LABEL authors="yovinchen"
|
||||
VOLUME /tmp
|
||||
ADD ./target/service-product.jar service-product.jar
|
||||
ENTRYPOINT ["java","-jar","/service-product.jar", "&"]
|
||||
|
||||
ARG APP_NAME="service-product"
|
||||
ARG JAR_FILE="${APP_NAME}.jar"
|
||||
ARG WORK_PATH="/skywalking"
|
||||
|
||||
ENV JAR_FILE=${JAR_FILE}
|
||||
ENV SW_AGENT_NAME=${APP_NAME}
|
||||
ENV SW_AGENT_COLLECTOR_BACKEND_SERVICES="10.211.55.50:11800"
|
||||
|
||||
RUN rm /skywalking/agent/plugins/apm-cxf-* \
|
||||
/skywalking/agent/plugins/apm-dubbo-* \
|
||||
/skywalking/agent/plugins/apm-grizzly-* \
|
||||
/skywalking/agent/plugins/apm-grpc-* \
|
||||
/skywalking/agent/plugins/apm-h2-* \
|
||||
/skywalking/agent/plugins/apm-hbase-* \
|
||||
/skywalking/agent/plugins/apm-mongodb-* \
|
||||
/skywalking/agent/plugins/apm-netty-socketio-* \
|
||||
/skywalking/agent/plugins/apm-nutz-http-* \
|
||||
/skywalking/agent/plugins/apm-play-* \
|
||||
/skywalking/agent/plugins/apm-rocketmq-* \
|
||||
/skywalking/agent/plugins/micronaut-http-client-* \
|
||||
/skywalking/agent/plugins/micronaut-http-server-* \
|
||||
/skywalking/agent/plugins/websphere-liberty-* \
|
||||
/skywalking/agent/plugins/graphql-* \
|
||||
/skywalking/agent/plugins/motan-* \
|
||||
/skywalking/agent/plugins/nats-* \
|
||||
/skywalking/agent/plugins/sofa-rpc-* \
|
||||
/skywalking/agent/plugins/thrift-*
|
||||
|
||||
COPY ./target/$JAR_FILE $JAR_FILE
|
||||
|
||||
WORKDIR $WORK_PATH
|
||||
ENTRYPOINT exec java -jar $JAR_FILE
|
||||
|
@ -1,5 +1,36 @@
|
||||
FROM openjdk:8-jdk-alpine
|
||||
FROM apache/skywalking-java-agent:9.1.0-java8
|
||||
LABEL authors="yovinchen"
|
||||
VOLUME /tmp
|
||||
ADD ./target/service-search.jar service-search.jar
|
||||
ENTRYPOINT ["java","-jar","/service-search.jar", "&"]
|
||||
|
||||
ARG APP_NAME="service-search"
|
||||
ARG JAR_FILE="${APP_NAME}.jar"
|
||||
ARG WORK_PATH="/skywalking"
|
||||
|
||||
ENV JAR_FILE=${JAR_FILE}
|
||||
ENV SW_AGENT_NAME=${APP_NAME}
|
||||
ENV SW_AGENT_COLLECTOR_BACKEND_SERVICES="10.211.55.50:11800"
|
||||
|
||||
RUN rm /skywalking/agent/plugins/apm-cxf-* \
|
||||
/skywalking/agent/plugins/apm-dubbo-* \
|
||||
/skywalking/agent/plugins/apm-grizzly-* \
|
||||
/skywalking/agent/plugins/apm-grpc-* \
|
||||
/skywalking/agent/plugins/apm-h2-* \
|
||||
/skywalking/agent/plugins/apm-hbase-* \
|
||||
/skywalking/agent/plugins/apm-mongodb-* \
|
||||
/skywalking/agent/plugins/apm-netty-socketio-* \
|
||||
/skywalking/agent/plugins/apm-nutz-http-* \
|
||||
/skywalking/agent/plugins/apm-play-* \
|
||||
/skywalking/agent/plugins/apm-rocketmq-* \
|
||||
/skywalking/agent/plugins/micronaut-http-client-* \
|
||||
/skywalking/agent/plugins/micronaut-http-server-* \
|
||||
/skywalking/agent/plugins/websphere-liberty-* \
|
||||
/skywalking/agent/plugins/graphql-* \
|
||||
/skywalking/agent/plugins/motan-* \
|
||||
/skywalking/agent/plugins/nats-* \
|
||||
/skywalking/agent/plugins/sofa-rpc-* \
|
||||
/skywalking/agent/plugins/thrift-*
|
||||
|
||||
COPY ./target/$JAR_FILE $JAR_FILE
|
||||
|
||||
WORKDIR $WORK_PATH
|
||||
ENTRYPOINT exec java -jar $JAR_FILE
|
||||
|
||||
|
@ -1,5 +1,36 @@
|
||||
FROM openjdk:8-jdk-alpine
|
||||
FROM apache/skywalking-java-agent:9.1.0-java8
|
||||
LABEL authors="yovinchen"
|
||||
VOLUME /tmp
|
||||
ADD ./target/service-sys.jar service-sys.jar
|
||||
ENTRYPOINT ["java","-jar","/service-sys.jar", "&"]
|
||||
|
||||
ARG APP_NAME="service-sys"
|
||||
ARG JAR_FILE="${APP_NAME}.jar"
|
||||
ARG WORK_PATH="/skywalking"
|
||||
|
||||
ENV JAR_FILE=${JAR_FILE}
|
||||
ENV SW_AGENT_NAME=${APP_NAME}
|
||||
ENV SW_AGENT_COLLECTOR_BACKEND_SERVICES="10.211.55.50:11800"
|
||||
|
||||
RUN rm /skywalking/agent/plugins/apm-cxf-* \
|
||||
/skywalking/agent/plugins/apm-dubbo-* \
|
||||
/skywalking/agent/plugins/apm-grizzly-* \
|
||||
/skywalking/agent/plugins/apm-grpc-* \
|
||||
/skywalking/agent/plugins/apm-h2-* \
|
||||
/skywalking/agent/plugins/apm-hbase-* \
|
||||
/skywalking/agent/plugins/apm-mongodb-* \
|
||||
/skywalking/agent/plugins/apm-netty-socketio-* \
|
||||
/skywalking/agent/plugins/apm-nutz-http-* \
|
||||
/skywalking/agent/plugins/apm-play-* \
|
||||
/skywalking/agent/plugins/apm-rocketmq-* \
|
||||
/skywalking/agent/plugins/micronaut-http-client-* \
|
||||
/skywalking/agent/plugins/micronaut-http-server-* \
|
||||
/skywalking/agent/plugins/websphere-liberty-* \
|
||||
/skywalking/agent/plugins/graphql-* \
|
||||
/skywalking/agent/plugins/motan-* \
|
||||
/skywalking/agent/plugins/nats-* \
|
||||
/skywalking/agent/plugins/sofa-rpc-* \
|
||||
/skywalking/agent/plugins/thrift-*
|
||||
|
||||
COPY ./target/$JAR_FILE $JAR_FILE
|
||||
|
||||
WORKDIR $WORK_PATH
|
||||
ENTRYPOINT exec java -jar $JAR_FILE
|
||||
|
||||
|
@ -1,5 +1,37 @@
|
||||
FROM openjdk:8-jdk-alpine
|
||||
FROM apache/skywalking-java-agent:9.1.0-java8
|
||||
LABEL authors="yovinchen"
|
||||
VOLUME /tmp
|
||||
ADD ./target/service-user.jar service-user.jar
|
||||
ENTRYPOINT ["java","-jar","/service-user.jar", "&"]
|
||||
|
||||
ARG APP_NAME="service-user"
|
||||
ARG JAR_FILE="${APP_NAME}.jar"
|
||||
ARG WORK_PATH="/skywalking"
|
||||
|
||||
ENV JAR_FILE=${JAR_FILE}
|
||||
ENV SW_AGENT_NAME=${APP_NAME}
|
||||
ENV SW_AGENT_COLLECTOR_BACKEND_SERVICES="10.211.55.50:11800"
|
||||
|
||||
RUN rm /skywalking/agent/plugins/apm-cxf-* \
|
||||
/skywalking/agent/plugins/apm-dubbo-* \
|
||||
/skywalking/agent/plugins/apm-grizzly-* \
|
||||
/skywalking/agent/plugins/apm-grpc-* \
|
||||
/skywalking/agent/plugins/apm-h2-* \
|
||||
/skywalking/agent/plugins/apm-hbase-* \
|
||||
/skywalking/agent/plugins/apm-mongodb-* \
|
||||
/skywalking/agent/plugins/apm-netty-socketio-* \
|
||||
/skywalking/agent/plugins/apm-nutz-http-* \
|
||||
/skywalking/agent/plugins/apm-play-* \
|
||||
/skywalking/agent/plugins/apm-rocketmq-* \
|
||||
/skywalking/agent/plugins/micronaut-http-client-* \
|
||||
/skywalking/agent/plugins/micronaut-http-server-* \
|
||||
/skywalking/agent/plugins/websphere-liberty-* \
|
||||
/skywalking/agent/plugins/graphql-* \
|
||||
/skywalking/agent/plugins/motan-* \
|
||||
/skywalking/agent/plugins/nats-* \
|
||||
/skywalking/agent/plugins/sofa-rpc-* \
|
||||
/skywalking/agent/plugins/thrift-*
|
||||
|
||||
COPY ./target/$JAR_FILE $JAR_FILE
|
||||
|
||||
WORKDIR $WORK_PATH
|
||||
ENTRYPOINT exec java -jar $JAR_FILE
|
||||
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<view class="wrap">
|
||||
<view class="content">
|
||||
<view class="title">欢迎登陆小鹿超市</view>
|
||||
<view class="title">欢迎登录小鹿超市</view>
|
||||
</view>
|
||||
<view class="buttom">
|
||||
<view class="loginType">
|
||||
|
Loading…
Reference in New Issue
Block a user