Getting ctr closer to compiling on Windows
Signed-off-by: John Howard <jhoward@microsoft.com>
This commit is contained in:
9
specs/spec_linux.go
Normal file
9
specs/spec_linux.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package specs
|
||||
|
||||
import ocs "github.com/opencontainers/specs"
|
||||
|
||||
type (
|
||||
PlatformSpec ocs.LinuxSpec
|
||||
ProcessSpec ocs.Process
|
||||
Spec ocs.Spec
|
||||
)
|
@@ -1,5 +1,13 @@
|
||||
package specs
|
||||
|
||||
// Temporary Windows version of the spec in lieu of opencontainers/specs having
|
||||
// Windows support currently.
|
||||
|
||||
type (
|
||||
PlatformSpec WindowsSpec
|
||||
ProcessSpec Process
|
||||
)
|
||||
|
||||
// This is a temporary module in lieu of opencontainers/specs being compatible
|
||||
// currently on Windows.
|
||||
|
@@ -1,3 +0,0 @@
|
||||
// +build !windows
|
||||
|
||||
package specs
|
Reference in New Issue
Block a user