mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
934328d8ea
Signed-off-by: Amit Krishnan <krish.amit@gmail.com> Signed-off-by: Alexander Morozov <lk4d4@docker.com>
20 lines
335 B
Go
20 lines
335 B
Go
package oci
|
|
|
|
import (
|
|
"runtime"
|
|
|
|
"github.com/opencontainers/runtime-spec/specs-go"
|
|
)
|
|
|
|
// DefaultSpec returns default oci spec used by docker.
|
|
func DefaultSpec() specs.Spec {
|
|
s := specs.Spec{
|
|
Version: "0.6.0",
|
|
Platform: specs.Platform{
|
|
OS: "SunOS",
|
|
Arch: runtime.GOARCH,
|
|
},
|
|
}
|
|
s.Solaris = &specs.Solaris{}
|
|
return s
|
|
}
|