提交 fbf3a8ce 编写于 作者: M MaxKey

docker

上级 9b5e0707
...@@ -6,10 +6,7 @@ buildscript { ...@@ -6,10 +6,7 @@ buildscript {
} }
} }
plugins {
id 'com.google.cloud.tools.jib' version '2.6.0'
id 'org.springframework.boot' version '2.3.4.RELEASE'
}
description = "maxkey-web-manage" description = "maxkey-web-manage"
...@@ -20,12 +17,18 @@ apply plugin: 'java' ...@@ -20,12 +17,18 @@ apply plugin: 'java'
//apply plugin: 'com.bmuschko.tomcat-base' //apply plugin: 'com.bmuschko.tomcat-base'
//apply plugin: 'com.bmuschko.tomcat' //apply plugin: 'com.bmuschko.tomcat'
/*
plugins {
id 'com.google.cloud.tools.jib' version '2.6.0'
id 'org.springframework.boot' version '2.3.4.RELEASE'
}
jib { jib {
from { from {
image = 'adoptopenjdk:11-jre-openj9' image = 'adoptopenjdk:11-jre-openj9'
} }
to { to {
image = "maxkey/maxkey-web-manage" image = "maxkey/maxkey-mgt"
tags = ["${project.version}".toString(), 'latest'] tags = ["${project.version}".toString(), 'latest']
} }
container { container {
...@@ -33,6 +36,7 @@ jib { ...@@ -33,6 +36,7 @@ jib {
ports = ['80'] ports = ['80']
} }
} }
*/
dependencies { dependencies {
compile project(":maxkey-core") compile project(":maxkey-core")
......
...@@ -6,10 +6,7 @@ buildscript { ...@@ -6,10 +6,7 @@ buildscript {
} }
} }
plugins {
id 'com.google.cloud.tools.jib' version '2.6.0'
id 'org.springframework.boot' version '2.3.4.RELEASE'
}
description = "maxkey-web-maxkey" description = "maxkey-web-maxkey"
...@@ -20,12 +17,18 @@ apply plugin: 'java' ...@@ -20,12 +17,18 @@ apply plugin: 'java'
//apply plugin: 'com.bmuschko.tomcat-base' //apply plugin: 'com.bmuschko.tomcat-base'
//apply plugin: 'com.bmuschko.tomcat' //apply plugin: 'com.bmuschko.tomcat'
/*
plugins {
id 'com.google.cloud.tools.jib' version '2.6.0'
id 'org.springframework.boot' version '2.3.4.RELEASE'
}
jib { jib {
from { from {
image = 'adoptopenjdk:11-jre-openj9' image = 'adoptopenjdk:11-jre-openj9'
} }
to { to {
image = "maxkey/maxkey-web-maxkey" image = "maxkey/maxkey"
tags = ["${project.version}".toString(), 'latest'] tags = ["${project.version}".toString(), 'latest']
} }
container { container {
...@@ -33,6 +36,7 @@ jib { ...@@ -33,6 +36,7 @@ jib {
ports = ['80'] ports = ['80']
} }
} }
*/
dependencies { dependencies {
compile project(":maxkey-core") compile project(":maxkey-core")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册