1
0
mirror of https://github.com/rancher/os.git synced 2025-08-30 03:56:17 +00:00

Add entrypoint

This commit is contained in:
Darren Shepherd 2015-04-04 12:25:12 -07:00
parent 1d10f81ac1
commit 3282192d97
2 changed files with 6 additions and 4 deletions

8
Godeps/Godeps.json generated
View File

@ -226,13 +226,13 @@
},
{
"ImportPath": "github.com/rancherio/rancher-compose/docker",
"Comment": "0.1.0-6-g2c1ca18",
"Rev": "2c1ca181af15180721e684d8e605462e1055cf8b"
"Comment": "0.1.0-7-g610ec8a",
"Rev": "610ec8ab86c2b1a84e474cbf78cc38104ec4e5e4"
},
{
"ImportPath": "github.com/rancherio/rancher-compose/project",
"Comment": "0.1.0-6-g2c1ca18",
"Rev": "2c1ca181af15180721e684d8e605462e1055cf8b"
"Comment": "0.1.0-7-g610ec8a",
"Rev": "610ec8ab86c2b1a84e474cbf78cc38104ec4e5e4"
},
{
"ImportPath": "github.com/ryanuber/go-glob",

View File

@ -16,8 +16,10 @@ func Convert(c *project.ServiceConfig) (*runconfig.Config, *runconfig.HostConfig
}
cmd, _ := shlex.Split(c.Command)
entrypoint, _ := shlex.Split(c.Entrypoint)
return &runconfig.Config{
Entrypoint: entrypoint,
Hostname: c.Hostname,
Domainname: c.DomainName,
User: c.User,