|
|
@@ -30,6 +30,7 @@ public class DockerPack implements CodePacker {
|
|
|
public String pack(String appId, String commitId, String appRootPath) throws Exception {
|
|
|
String repo = targetPath + File.separator + appId;
|
|
|
String image = repo + ":" + commitId;
|
|
|
+ log.info("构建镜像 {}:{} {}", appId, commitId, appRootPath);
|
|
|
docker.build(image, appRootPath, dockerfile);
|
|
|
return image;
|
|
|
}
|