1 Star 0 Fork 43

somken/Addax

forked from Gitee 极速下载/Addax 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile 862 Bytes
一键复制 编辑 原始数据 按行查看 历史
# define an alias
FROM maven:3.6-jdk-8 as build
COPY . /src
WORKDIR /src
RUN mkdir /root/.m2 && echo '<?xml version="1.0" encoding="UTF-8"?><settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"><mirrors><mirror><id>tencent</id><mirrorOf>*</mirrorOf><name>tencent cloud</name><url>https://mirrors.cloud.tencent.com/nexus/repository/maven-public/</url></mirror></mirrors></settings>' >/root/.m2/settings.xml && \
mvn clean package -DskipTests && \
mvn package assembly:single && \
./shrink_package.sh && \
rm -f target/addax/addax-*.tar.gz
FROM openjdk:8u232-jre-stretch
COPY --from=build /src/target/addax/addax-* /opt/addax/
WORKDIR /opt/addax
RUN chmod 755 /opt/addax/bin/*
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/dowhere/Addax.git
git@gitee.com:dowhere/Addax.git
dowhere
Addax
Addax
master

搜索帮助