<commit_before>FROM maven:3.3.3

#添加源码
ADD pom.xml /tmp/build/
#解析依赖
#RUN cd /tmp/build && mvn -q dependency:resolve

ADD mhq0123-officialwebsite-config-server /tmp/build/mhq0123-officialwebsite-config-server
ADD mhq0123-officialwebsite-edge-service /tmp/build/mhq0123-officialwebsite-edge-service
ADD mhq0123-officialwebsite-micro-service /tmp/build/mhq0123-officialwebsite-micro-service
ADD mhq0123-officialwebsite-service-gateway /tmp/build/mhq0123-officialwebsite-service-gateway
ADD mhq0123-officialwebsite-service-registry /tmp/build/mhq0123-officialwebsite-service-registry
ADD mhq0123-officialwebsite-web-client /tmp/build/mhq0123-officialwebsite-web-client

ADD start.sh /start.sh

#构建应用
#拷贝编译结果到指定目录
RUN cd /tmp/build && mvn -q -DskipTests=true package
RUN cd /tmp/build/mhq0123-officialwebsite-config-server/target/ && ll
RUN cd /tmp/build && mv mhq0123-officialwebsite-config-server/target/*.jar /config-server.jar \
        && mv mhq0123-officialwebsite-edge-service/target/*.jar /edge-service.jar \
        && mv mhq0123-officialwebsite-micro-service/mhq0123-officialwebsite-microservice-customer/target/*.jar /microservice-customer.jar \
        && mv mhq0123-officialwebsite-micro-service/mhq0123-officialwebsite-microservice-sms/target/*.jar /microservice-sms.jar \
        && mv mhq0123-officialwebsite-service-gateway/target/*.jar /service-gateway.jar \
        && mv mhq0123-officialwebsite-service-registry/target/*.jar /service-registry.jar \
        #清理编译痕迹
        && cd / && rm -rf /tmp/build

VOLUME /tmp
<commit_msg>测试docker<commit_after>FROM maven:3.3.3

#添加源码
ADD pom.xml /tmp/build/
#解析依赖
#RUN cd /tmp/build && mvn -q dependency:resolve

ADD mhq0123-officialwebsite-config-server /tmp/build/mhq0123-officialwebsite-config-server
ADD mhq0123-officialwebsite-edge-service /tmp/build/mhq0123-officialwebsite-edge-service
ADD mhq0123-officialwebsite-micro-service /tmp/build/mhq0123-officialwebsite-micro-service
ADD mhq0123-officialwebsite-service-gateway /tmp/build/mhq0123-officialwebsite-service-gateway
ADD mhq0123-officialwebsite-service-registry /tmp/build/mhq0123-officialwebsite-service-registry
ADD mhq0123-officialwebsite-web-client /tmp/build/mhq0123-officialwebsite-web-client

ADD start.sh /start.sh

#构建应用
#拷贝编译结果到指定目录
RUN cd /tmp/build && mvn -q -DskipTests=true package
RUN cd /tmp/build/mhq0123-officialwebsite-config-server/target && mv mhq0123-officialwebsite-config-server-1.0-SNAPSHOT.jar /config-server.jar
RUN cd /tmp/build && mv mhq0123-officialwebsite-edge-service/target/*.jar /edge-service.jar \
        && mv mhq0123-officialwebsite-micro-service/mhq0123-officialwebsite-microservice-customer/target/*.jar /microservice-customer.jar \
        && mv mhq0123-officialwebsite-micro-service/mhq0123-officialwebsite-microservice-sms/target/*.jar /microservice-sms.jar \
        && mv mhq0123-officialwebsite-service-gateway/target/*.jar /service-gateway.jar \
        && mv mhq0123-officialwebsite-service-registry/target/*.jar /service-registry.jar \
        #清理编译痕迹
        && cd / && rm -rf /tmp/build

VOLUME /tmp

{'fraction_non_alphanumeric': 0.12451108213820078, 'fraction_numerical': 0.05736636245110821, 'mean_word_length': 4.08955223880597, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1107935', 'n_tokens_mistral': 1324, 'n_tokens_neox': 1101, 'n_words': 149}