build(acr): add self-contained multi-stage Dockerfile for ACR cloud b… - #12
Merged
Merged
Conversation
…uilds ACR 个人版云构建只有一步 docker build(无前置 mvn/npm 步骤),而常规 Dockerfile 依赖先产出的 datapoly-release.tar.gz。新增 build-docker/acr/Dockerfile: stage1 node:14-alpine 直跑 npm 烘焙 UI 进 manager resources, stage2 maven 容器全量打包(复用 docker-maven-settings.xml 阿里云镜像), stage3 解包发行版 tar 出运行时镜像;ARG MODULE 区分 manager/executor/gateway
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…uilds
ACR 个人版云构建只有一步 docker build(无前置 mvn/npm 步骤),而常规
Dockerfile 依赖先产出的 datapoly-release.tar.gz。新增 build-docker/acr/Dockerfile: stage1 node:14-alpine 直跑 npm 烘焙 UI 进 manager resources, stage2 maven 容器全量打包(复用 docker-maven-settings.xml 阿里云镜像), stage3 解包发行版 tar 出运行时镜像;ARG MODULE 区分 manager/executor/gateway
Summary
Type of change
Checklist
mvn testpasses locally (mvn -B -ntp test -pl datapoly-common,datapoly-template,datapoly-core,datapoly-executor,datapoly-gateway,datapoly-manager -am)datapoly-manager-ui) was changed,sh build-ui.shwas run and the built assets were verified; no generated files underdatapoly-manager/src/main/resources/(index.html, static/) were committed