Merge branch '2.7.x'
commit
1f838bf2ee
@ -1,12 +1,38 @@
|
|||||||
{
|
{
|
||||||
"User" : "root",
|
"User": "root",
|
||||||
"Image" : "pack.local/ephemeral-builder",
|
"Image": "pack.local/ephemeral-builder",
|
||||||
"Cmd" : [ "/cnb/lifecycle/creator", "-app", "/workspace", "-platform", "/platform", "-run-image", "docker.io/cloudfoundry/run:latest", "-layers", "/layers", "-cache-dir", "/cache", "-launch-cache", "/launch-cache", "-daemon", "-process-type=web", "docker.io/library/my-application:latest" ],
|
"Cmd": [
|
||||||
"Env" : [ "CNB_PLATFORM_API=0.4" ],
|
"/cnb/lifecycle/creator",
|
||||||
"Labels" : {
|
"-app",
|
||||||
"author" : "spring-boot"
|
"/workspace",
|
||||||
|
"-platform",
|
||||||
|
"/platform",
|
||||||
|
"-run-image",
|
||||||
|
"docker.io/cloudfoundry/run:latest",
|
||||||
|
"-layers",
|
||||||
|
"/layers",
|
||||||
|
"-cache-dir",
|
||||||
|
"/cache",
|
||||||
|
"-launch-cache",
|
||||||
|
"/launch-cache",
|
||||||
|
"-daemon",
|
||||||
|
"docker.io/library/my-application:latest"
|
||||||
|
],
|
||||||
|
"Env": [
|
||||||
|
"CNB_PLATFORM_API=0.8"
|
||||||
|
],
|
||||||
|
"Labels": {
|
||||||
|
"author": "spring-boot"
|
||||||
},
|
},
|
||||||
"HostConfig" : {
|
"HostConfig": {
|
||||||
"Binds" : [ "/var/run/docker.sock:/var/run/docker.sock", "pack-layers-aaaaaaaaaa:/layers", "pack-app-aaaaaaaaaa:/workspace", "pack-cache-b35197ac41ea.build:/cache", "pack-cache-b35197ac41ea.launch:/launch-cache", "/host/src/path:/container/dest/path:ro", "volume-name:/container/volume/path:rw" ]
|
"Binds": [
|
||||||
|
"/var/run/docker.sock:/var/run/docker.sock",
|
||||||
|
"pack-layers-aaaaaaaaaa:/layers",
|
||||||
|
"pack-app-aaaaaaaaaa:/workspace",
|
||||||
|
"pack-cache-b35197ac41ea.build:/cache",
|
||||||
|
"pack-cache-b35197ac41ea.launch:/launch-cache",
|
||||||
|
"/host/src/path:/container/dest/path:ro",
|
||||||
|
"volume-name:/container/volume/path:rw"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -1,12 +1,37 @@
|
|||||||
{
|
{
|
||||||
"User" : "root",
|
"User": "root",
|
||||||
"Image" : "pack.local/ephemeral-builder",
|
"Image": "pack.local/ephemeral-builder",
|
||||||
"Cmd" : [ "/cnb/lifecycle/creator", "-app", "/workspace", "-platform", "/platform", "-run-image", "docker.io/cloudfoundry/run:latest", "-layers", "/layers", "-cache-dir", "/cache", "-launch-cache", "/launch-cache", "-daemon", "-skip-restore", "-process-type=web", "docker.io/library/my-application:latest" ],
|
"Cmd": [
|
||||||
"Env" : [ "CNB_PLATFORM_API=0.4" ],
|
"/cnb/lifecycle/creator",
|
||||||
"Labels" : {
|
"-app",
|
||||||
"author" : "spring-boot"
|
"/workspace",
|
||||||
|
"-platform",
|
||||||
|
"/platform",
|
||||||
|
"-run-image",
|
||||||
|
"docker.io/cloudfoundry/run:latest",
|
||||||
|
"-layers",
|
||||||
|
"/layers",
|
||||||
|
"-cache-dir",
|
||||||
|
"/cache",
|
||||||
|
"-launch-cache",
|
||||||
|
"/launch-cache",
|
||||||
|
"-daemon",
|
||||||
|
"-skip-restore",
|
||||||
|
"docker.io/library/my-application:latest"
|
||||||
|
],
|
||||||
|
"Env": [
|
||||||
|
"CNB_PLATFORM_API=0.8"
|
||||||
|
],
|
||||||
|
"Labels": {
|
||||||
|
"author": "spring-boot"
|
||||||
},
|
},
|
||||||
"HostConfig" : {
|
"HostConfig": {
|
||||||
"Binds" : [ "/var/run/docker.sock:/var/run/docker.sock", "pack-layers-aaaaaaaaaa:/layers", "pack-app-aaaaaaaaaa:/workspace", "pack-cache-b35197ac41ea.build:/cache", "pack-cache-b35197ac41ea.launch:/launch-cache" ]
|
"Binds": [
|
||||||
|
"/var/run/docker.sock:/var/run/docker.sock",
|
||||||
|
"pack-layers-aaaaaaaaaa:/layers",
|
||||||
|
"pack-app-aaaaaaaaaa:/workspace",
|
||||||
|
"pack-cache-b35197ac41ea.build:/cache",
|
||||||
|
"pack-cache-b35197ac41ea.launch:/launch-cache"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -1,13 +1,37 @@
|
|||||||
{
|
{
|
||||||
"User" : "root",
|
"User": "root",
|
||||||
"Image" : "pack.local/ephemeral-builder",
|
"Image": "pack.local/ephemeral-builder",
|
||||||
"Cmd" : [ "/cnb/lifecycle/creator", "-app", "/workspace", "-platform", "/platform", "-run-image", "docker.io/cloudfoundry/run:latest", "-layers", "/layers", "-cache-dir", "/cache", "-launch-cache", "/launch-cache", "-daemon", "-process-type=web", "docker.io/library/my-application:latest" ],
|
"Cmd": [
|
||||||
"Env" : [ "CNB_PLATFORM_API=0.4" ],
|
"/cnb/lifecycle/creator",
|
||||||
"Labels" : {
|
"-app",
|
||||||
"author" : "spring-boot"
|
"/workspace",
|
||||||
|
"-platform",
|
||||||
|
"/platform",
|
||||||
|
"-run-image",
|
||||||
|
"docker.io/cloudfoundry/run:latest",
|
||||||
|
"-layers",
|
||||||
|
"/layers",
|
||||||
|
"-cache-dir",
|
||||||
|
"/cache",
|
||||||
|
"-launch-cache",
|
||||||
|
"/launch-cache",
|
||||||
|
"-daemon",
|
||||||
|
"docker.io/library/my-application:latest"
|
||||||
|
],
|
||||||
|
"Env": [
|
||||||
|
"CNB_PLATFORM_API=0.8"
|
||||||
|
],
|
||||||
|
"Labels": {
|
||||||
|
"author": "spring-boot"
|
||||||
},
|
},
|
||||||
"HostConfig" : {
|
"HostConfig": {
|
||||||
"NetworkMode" : "test",
|
"NetworkMode": "test",
|
||||||
"Binds" : [ "/var/run/docker.sock:/var/run/docker.sock", "pack-layers-aaaaaaaaaa:/layers", "pack-app-aaaaaaaaaa:/workspace", "pack-cache-b35197ac41ea.build:/cache", "pack-cache-b35197ac41ea.launch:/launch-cache" ]
|
"Binds": [
|
||||||
|
"/var/run/docker.sock:/var/run/docker.sock",
|
||||||
|
"pack-layers-aaaaaaaaaa:/layers",
|
||||||
|
"pack-app-aaaaaaaaaa:/workspace",
|
||||||
|
"pack-cache-b35197ac41ea.build:/cache",
|
||||||
|
"pack-cache-b35197ac41ea.launch:/launch-cache"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -1,12 +1,36 @@
|
|||||||
{
|
{
|
||||||
"User" : "root",
|
"User": "root",
|
||||||
"Image" : "pack.local/ephemeral-builder",
|
"Image": "pack.local/ephemeral-builder",
|
||||||
"Cmd" : [ "/cnb/lifecycle/creator", "-app", "/workspace", "-platform", "/platform", "-run-image", "docker.io/cloudfoundry/run:latest", "-layers", "/layers", "-cache-dir", "/cache", "-launch-cache", "/launch-cache", "-daemon", "-process-type=web", "docker.io/library/my-application:latest" ],
|
"Cmd": [
|
||||||
"Env" : [ "CNB_PLATFORM_API=0.4" ],
|
"/cnb/lifecycle/creator",
|
||||||
"Labels" : {
|
"-app",
|
||||||
"author" : "spring-boot"
|
"/workspace",
|
||||||
|
"-platform",
|
||||||
|
"/platform",
|
||||||
|
"-run-image",
|
||||||
|
"docker.io/cloudfoundry/run:latest",
|
||||||
|
"-layers",
|
||||||
|
"/layers",
|
||||||
|
"-cache-dir",
|
||||||
|
"/cache",
|
||||||
|
"-launch-cache",
|
||||||
|
"/launch-cache",
|
||||||
|
"-daemon",
|
||||||
|
"docker.io/library/my-application:latest"
|
||||||
|
],
|
||||||
|
"Env": [
|
||||||
|
"CNB_PLATFORM_API=0.8"
|
||||||
|
],
|
||||||
|
"Labels": {
|
||||||
|
"author": "spring-boot"
|
||||||
},
|
},
|
||||||
"HostConfig" : {
|
"HostConfig": {
|
||||||
"Binds" : [ "/var/run/docker.sock:/var/run/docker.sock", "pack-layers-aaaaaaaaaa:/layers", "pack-app-aaaaaaaaaa:/workspace", "pack-cache-b35197ac41ea.build:/cache", "pack-cache-b35197ac41ea.launch:/launch-cache" ]
|
"Binds": [
|
||||||
|
"/var/run/docker.sock:/var/run/docker.sock",
|
||||||
|
"pack-layers-aaaaaaaaaa:/layers",
|
||||||
|
"pack-app-aaaaaaaaaa:/workspace",
|
||||||
|
"pack-cache-b35197ac41ea.build:/cache",
|
||||||
|
"pack-cache-b35197ac41ea.launch:/launch-cache"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue