2016-03-25 23:38:00 +00:00
|
|
|
package oci
|
|
|
|
|
|
|
|
import (
|
2016-06-07 07:45:21 +00:00
|
|
|
"runtime"
|
|
|
|
|
2016-08-17 16:38:34 +00:00
|
|
|
"github.com/opencontainers/runtime-spec/specs-go"
|
2016-03-25 23:38:00 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
// DefaultSpec returns default oci spec used by docker.
|
|
|
|
func DefaultSpec() specs.Spec {
|
2016-06-07 07:45:21 +00:00
|
|
|
s := specs.Spec{
|
|
|
|
Version: "0.6.0",
|
|
|
|
Platform: specs.Platform{
|
|
|
|
OS: "SunOS",
|
|
|
|
Arch: runtime.GOARCH,
|
|
|
|
},
|
|
|
|
}
|
|
|
|
s.Solaris = &specs.Solaris{}
|
2016-03-25 23:38:00 +00:00
|
|
|
return s
|
|
|
|
}
|