mirror of
https://github.com/rancher/os.git
synced 2025-09-23 11:30:49 +00:00
Add entrypoint
This commit is contained in:
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)
|
||||
entrypoint, _ := shlex.Split(c.Entrypoint)
|
||||
|
||||
return &runconfig.Config{
|
||||
Entrypoint: entrypoint,
|
||||
Hostname: c.Hostname,
|
||||
Domainname: c.DomainName,
|
||||
User: c.User,
|
||||
|
Reference in New Issue
Block a user