mirror of
https://github.com/rancher/os.git
synced 2025-09-01 14:48:55 +00:00
Add entrypoint
This commit is contained in:
8
Godeps/Godeps.json
generated
8
Godeps/Godeps.json
generated
@@ -226,13 +226,13 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ImportPath": "github.com/rancherio/rancher-compose/docker",
|
"ImportPath": "github.com/rancherio/rancher-compose/docker",
|
||||||
"Comment": "0.1.0-6-g2c1ca18",
|
"Comment": "0.1.0-7-g610ec8a",
|
||||||
"Rev": "2c1ca181af15180721e684d8e605462e1055cf8b"
|
"Rev": "610ec8ab86c2b1a84e474cbf78cc38104ec4e5e4"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ImportPath": "github.com/rancherio/rancher-compose/project",
|
"ImportPath": "github.com/rancherio/rancher-compose/project",
|
||||||
"Comment": "0.1.0-6-g2c1ca18",
|
"Comment": "0.1.0-7-g610ec8a",
|
||||||
"Rev": "2c1ca181af15180721e684d8e605462e1055cf8b"
|
"Rev": "610ec8ab86c2b1a84e474cbf78cc38104ec4e5e4"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ImportPath": "github.com/ryanuber/go-glob",
|
"ImportPath": "github.com/ryanuber/go-glob",
|
||||||
|
2
Godeps/_workspace/src/github.com/rancherio/rancher-compose/docker/factory.go
generated
vendored
2
Godeps/_workspace/src/github.com/rancherio/rancher-compose/docker/factory.go
generated
vendored
@@ -16,8 +16,10 @@ func Convert(c *project.ServiceConfig) (*runconfig.Config, *runconfig.HostConfig
|
|||||||
}
|
}
|
||||||
|
|
||||||
cmd, _ := shlex.Split(c.Command)
|
cmd, _ := shlex.Split(c.Command)
|
||||||
|
entrypoint, _ := shlex.Split(c.Entrypoint)
|
||||||
|
|
||||||
return &runconfig.Config{
|
return &runconfig.Config{
|
||||||
|
Entrypoint: entrypoint,
|
||||||
Hostname: c.Hostname,
|
Hostname: c.Hostname,
|
||||||
Domainname: c.DomainName,
|
Domainname: c.DomainName,
|
||||||
User: c.User,
|
User: c.User,
|
||||||
|
Reference in New Issue
Block a user